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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Posted 15 hours ago in Jira

We want to know what Jira Service Desk apps you're using!

Hi Community! My name is Amir and I’m on the Jira Service Desk product marketing team at Atlassian. Our team would love to understand how you’re leveraging our ecosystem for Jira Service Desk. Wha...

38 views 0 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