Skip to content

Instantly share code, notes, and snippets.

@vikrantyadav11
Last active November 1, 2023 16:30
Show Gist options
  • Select an option

  • Save vikrantyadav11/76efad8274b2a276d3c732f65b30edb5 to your computer and use it in GitHub Desktop.

Select an option

Save vikrantyadav11/76efad8274b2a276d3c732f65b30edb5 to your computer and use it in GitHub Desktop.
Defect density using Structure
with Story_Sum = sum{if(issuetype="Story" AND fixVersion = "2021 CapEx - Release 1" ,1)}
:
if(!Story_Sum;"No Story Found";not issuetype;sum
{if((issuetype="Bug" OR issuetype="Customer Bug") AND fixVersion = "2021 CapEx - Release 1",1)}
/ Story_Sum)
if(not issuetype,concat("*{color:red}",sum{if(issuetype="Story",1)}/sum{if(issuetype="Bug",1)},"{color}*"))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment