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
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
Hello,
You would need a plugin for it.
For example you could use the Power Scripts add-on:
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.