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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

75 views 0 5
Read article

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