I have a workflow which requires a condition to be validated before transition to next status.
The condition needs to be checked is,
1)only when the ticked is assigned to assignee, the status should enable from "open" to "In progress" and following other status.
2)If ticket is not assigned to anyone, only "Cancelled" and "On Hold" status should be enabled. Could you help on writing script to satisfy this condition for workflow
You should just be able to put "assignee empty/not empty" in the condition header, but if you want to do it as a script, try
if ( issue.getAssignee() ) { Return false }
Return true
for the open and in-progress transitions
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.