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?
Hi Scott,
this is reported on Atlassian JIRA:
https://jira.atlassian.com/browse/JRA-9634
It seems that this issue is not going to be delivered soon. You can try Extended Schemes for JIRA to fulfill your needs. It covers not only Schemes for Link Types but for Priorities and Resolutions too.
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)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, you should be able to create a screen with (just) the field "Linked issues" on it. The validation can kick in on the "validators" part of the workflow (although you'll want to do that on other workflow actions too)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.