I am looking for a way to ensure only the proper link types are used between issues types/projects in JIRA. For example, a product defect blocks a client bug, not the other way around. I have not been able to find a way to add rules to limit the user's options. Any suggestions on how to accomplish this?
I'd have said you "product defect blocks client bug" and "client bug blocks product defect" are both perfectly valid cases, but that's just picking at the edges of your description. In some cases, you can create nonsense and/or unhelpful links between issues.
There is no validation built into JIRA, you'll need to find or write code to do it. As usual, I'd reach for the script-runner and create a "validator" that would block progression in the workflow if someone adds an inappropriate link.
However, a validator won't really apply to the linking facility in JIRA, or edits (unless you're on a reasonably recent version), so your users will be able to add the links no matter what. With validators, they won't eb able to progress the issue (can't resolve/close it while it has broken links etc), and you can get quite creative by checking both ends, so they're forced to update links.
I'm not aware of any addon that does link validation like this in full (there was something for version 3 of Jira, but it failed a lot of testing I did on it)
Thank you Nic. Yes, outside of our process, it's perfectly valid that a client bug can block a product defect. However, we've implemented policy to exclude other scenarios. I am just trying to find a way to enforce that policy in JIRA.
We are running JIRA v6.3.15. Is there a way that I can create a workflow transition (eg. New to New) with a transition screen showing only the issue links. Then use a validation to ensure the links adhere to policy? If so, is there any guidance on how to implement this? I'm still a scripting novice.
Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...
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
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot