Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Block a parent issue from transitioning

Sachin Guttala
Contributor
May 20, 2025

Block a parent issue from transitioning to 'Closed' status until all issues linked with the link types 'blocks' or 'is blocked by' are also in a Closed status.
please suggest me the scriptrunner script for jira cloud 

3 answers

0 votes
Cristiano Alves -Appfire-
Contributor
May 29, 2025

Hello @Sachin Guttala ,

 

Cristiano with the Appfire Team here,

If you're open to other plugins, our team offers Jira Misc Workflow Extension (JMWE),

You would be able to use an simple interface to setup validators like this, that would block a status change if the linked blocked issues are not done.
image (1).png

You should be able to create as many validators as need for each condition or issuetype required.

Feel free to contact our support team if you need anymore information

Regards.

0 votes
Kristian Walker _Adaptavist_
Community Champion
May 21, 2025

Hi Sachin,

I can confirm you can solve this requirement using a Workflow Validator inside of ScriptRunner Jira Cloud.

The example on line 93 here shows how to validate that an issue cannot transition until all child issues matching specified link types are in a certain status. 

You will be able to update this to achieve your requirement.

If you need further assistance with this, please raise a support request here so our support team can assist you.

I hope this helps.

Regards,

Kristian

Suggest an answer

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

Atlassian Community Events