Hi all,
I would like to create a condition or validator (ideally a validator, because I would rather it show an error message than just hide the transition) on an issue that prevents it from transitioning into a particular status unless all linked issues of a certain relationship are in a particular status.
Specifically, we have an issue type "Deployment", which has linking "deploys" to "Tasks". I would like to prevent "Deployments" from moving to "Done" (ie deployed) unless all the linked "deploys" issues are in the state "Ready to Deploy".
I saw a couple of answers here and there, but I am not clear if this is possible today in Jira Cloud.
Any and all help is appreciated!
Hi @Syd Heller ,
this is not doable out of the box, you need an addon to do it.
One that I can suggest is Scriptrunner, you need some scripting/development knowledge to use it properly, but there are tons of examples on the web.
In the documentation there is an example of how to interact with linked issues, you can find it on this page, you just need to scroll down to "Linked Issues".
If you install the addon you will see the option "ScriptRunner Script" while adding a condition or a validator.
I suggest this addon because it's well known in the Atlassian ecosystem and it's the one I use the most in this kind of cases. Of course, other addons exist to do something similar.
I hope this helps
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.