Its my first question here so i hope that i've done this correctly.
We are new to JIRA at my company and are very much learning as we go. It happens from time to time that multiple users have the same problem/similar problems at the same time. We link these issues together with the "relates to field".
Question i have is that when we go and close one of the tickets that has a relates to filled in i would like the related ticket to be closed too. How would i go about setting this up? Is it possible?
Steven de Villiers
It's very much possible. You will need the Misc. Workflow Extension plugin.
In the "source" issue's workflow, set up a post-function in the transition to Closed. That post-function should trigger the transition to Close in the "destination" issue's workflow.
I say "source" and "destination" because it's not mandatory that both issues use the same workflow. Just that they be linked by the chosen issue type, and that the named transition exists and is valid in the linked issue.
I suggest you use a specific issue link for these automated transitions. "relates to" is very generic, and you might want to use it for something else. I think it would be preferable to use "duplicated by" in your case.
I second the remark on using a specific link type; further, typically I close all duplicate tickets with a resolution of "duplicate", and a link to the primary, as soon as they are identified as duplicates. That way there is only ever one one open ticket being tracked per issue. That way you don't have to track things like FixVersion in multiple places (whereas, if you leave it open and only close it when resolved, there could be an expectation that the metadata stays current for all of them).
Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...
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!
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