Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Automation rule for tracking bugs linked to stories

James Wardle 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

1 vote
Answer accepted
Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
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 June 29, 2021

This is perfect, thank you!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events