Using the Groovy Script Runner to transition tasks to the next status. Confirmed working in all cases with condition "issue.assignee != originalIssue.reporter". However the problem is that there are two use cases in our task workflow.
The condition "issue.assignee != originalIssue.reporter" only answers Use Case 2 above, not Use Case 1 since all tickets are transitioned to the next status, including Unassigned tasks.
How can I write the condition so that issues are transitioned only under the following circumstance. The issue assignee is NOT the reporter AND is NOT "Unassigned".
> The issue assignee is NOT the reporter AND is NOT "Unassigned".
have you tried:
issue.assignee && issue.assignee != originalIssue.reporter
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.