how do I restrict parent project move to next transition until unless ALL its subtask( ONLY system subtask items) moved to a certain state ?
Hello,
You could use the Power Scripts add-on:
You could write a condition like this:
string[] keys = subtasks(key);
for(string key in keys){
if (%key%.issueType == "required issue type" && %key%.status != "required status") {
return false;
}
}
return true;
This condition would check if a subtask with the required issue type is not in a certain status, then the transition will not be visible.
You can find more info about conditions here:
https://confluence.cprime.io/display/JJUPIN/Customizing+workflows
Edit the workflow, and add the "sub-task blocking" condition to the transition you want to restrict.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sub-task blocking condition would check ALL subtasks created under the parent project.
I want only a specific subtask ex. ALPHA subtask item(s) , so once ALL 'ALPHA' subtask items reached to a given state X, its when the parent project task should be able to move its state from M ---> N.
Imagine if I have subtask ALPHA and BETA during different phases of the workflow.
Since BETA subtask get created before ALPHA, when I am going to use subtask blocking condition, it would check for this condition in BETA subtask item(s) even though its not needed there.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No, it won't. The sub-task blocking condition only looks at the sub-tasks on the current issue. It does not look at the project.
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.