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.
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
Every time you release software, there's a bit of risk – that there's a bug, that something breaks, or that the feature doesn't resonate with customers. Feature flagging helps make high stakes s...
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