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 Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,866 views 12 18
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot