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
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.
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Sachin Guttala ,
Something you may construct based on this post https://community.atlassian.com/forums/Jira-questions/Scriptrunner-validation-transition-where-there-must-be-at-least/qaq-p/2625169
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.