Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

How to create workflow condition or validator that checks status of linked issues?

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!

1 answer

1 accepted

2 votes
Answer accepted
Giovanni Melai
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Oct 02, 2023

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

Thank you very much for the detailed reply!

Like Giovanni Melai likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events