X-Issue have 5 linked issues,
I want to close X-issue only after the 5 linked issues closed.
Is there any possibility to Achieve this.
Thanks in advance
Hello,
You would need a plugin for it.
For example you could use the Power Scripts add-on:
https://marketplace.atlassian.com/apps/43318/power-scripts-jira-script-automation?hosting=cloud&tab=overview
You could add the SIL post function to the Close transition with a script like this:
boolean flag = true;string [] outwardIssue = linkedIssues(key, "Relates", 1);if (size(outwardIssue) > 0) { string [] inwardIssues = linkedIssues(outwardIssue[0], "Relates", 1); for(string i in inwardIssues) { if (i.status != "Closed") { flag = false; break; } }; if (flag) { boolean success = autotransition("Close", key, true, true, true); }}
This script suppose that your issues a linked with the Relates status. The outward link goes to the parent and the inward link goes to children.
Hi @Madhu Reddy,
You can use a Third party add-on Jira Misc Workflow Extension which will helps you in validating all the linked issues status. Hope this helps you if you don't want to go with scripting.
Thanks,
Sravya
It looks like you're new here. Sign in or register to get started.