How can I monitor bugs which opened as sub task in Structure?

Hi ,

 

We are opening stories bugs as sub tasks and adding in sub task summary “[Bug]” in order that I will be able to filter them out easily

 

How can I get the # of sub task bugs I have per user story / Epic ?

 

I tried below but it is not valid :

 If(issueFunction in subtasksOf("issuetype = Story") AND issueFunction in issueFieldMatch("project = XXX", "summary", "\\[Bug\\]")  AND Status!= 'Done' ;1)

 

 The JQL query I can use in Jira to get this data is  :

(project = XXX  AND issueFunction in subtasksOf("issuetype = Story") AND issueFunction in issueFieldMatch("project = XXX", "summary", "\\[Bug\\]"))    

 

Any suggestion ?

Thank in advance 

1 answer

Hello Ofira,

 

You can use the Formula column for showing how many ‘Bug’ Stories are there in the Epic or their parent Story. The formula for that would look like this:

 

sum{IF(summary="bug",1)}

 

Where bug is the summary of the Bug Stories.

 

Please note: if your Structure version is not 4.3 and higher, the SUM aggregate function will not be available to you. In that case use the IF(summary="bug",1) formula instead and select the ‘Sum over sub-items’ option in the Formula’s configuration.

 

Please let us know if the suggested formula for a Formula column works.

 

Best regards,

Stepan Kholodov

ALM Works

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 25, 2018 in Jira

Atlassian Research Workshop opportunity on Sep. 28th in Austin, TX

We're looking for participants for a workshop at Atlassian! We need Jira admins who have interesting custom workflows, issue views, or boards. Think you have a story to sha...

418 views 7 5
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you