We have the following requirement, Our JIRA page has two fields,
Here is the conditional transition requirement
If Field A is selected, then move to resolved state only if a string (free-text) is entered in Field B text box or if Field B is not equal to NULL.
I have been trying conditions and transitions but I am unable to achieve the above. The conditions are not getting checked and the issue is moved to resolved or done state.
Any help is greatly appreciated.
Hello,
You would need an add-on for it. For example, you could use the Power Scripts add-on:
You could write a validator for transitions, which lead to the Resolved or Done statuses. You could write a code like this there:
if (isNotNull(#{FiledA}) && isNotNull(#{FieldB})) {
return true;
}
return false;
You can find more info on validators here:
https://confluence.cprime.io/display/JJUPIN/Customizing+workflows#Customizingworkflows-Forvalidator:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.