The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Automation rule for tracking bugs linked to stories

James Wardle
Contributor
June 29, 2021

I'd like to keep a count of the number of bugs linked to a story in a Jira project.

My approach to this has been to create a field called "Defect Count", and use the built-in Automation function to increase this field by 1 every time a Bug ticket type is linked to a story.

This works (I've also set it to decrease by 1 if the Bug ticket type is unlinked).

However, if a user links 3 Bug tickets to a Story in one action, the Defect Count field is set to 1, not 3.

Can anyone offer any suggestions on how to resolve this?

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
Answer accepted
Jack Brickey
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
June 29, 2021

You need a means of retrieving the number of linked issues whenever a new issue(s) is linked to an issue. I believe this is possible but have not attempted myself. here is a post that might help ~ Add-number-of-linked-issues-to-the-custom-field 

James Wardle
Contributor
June 29, 2021

This is perfect, thank you!

TAGS
AUG Leaders

Atlassian Community Events