I would like to create a Transition Validator using the Simple Scripted Validator to check the Assignee field is blank or unassigned at the time of transition. It seems logical to me I could take the example provided "Assignee changed (Workflow functions only)"
issue.assignee != originalIssue.assignee
And change it to:
issue.assignee == NULL
But I get an error about NULL being an undeclared variable.
Is there a simple 1 or 2 line way to do this?
I have other fields I would also like to verify the values of or verify they have or don't have a value when transitioning an issue. Would it be different for other types of fields?
Can you please help me create a groovy script:
If Assignee field was changed from "Unassigned"
move an issue to "status name"
I'm trying to use "Fast-track transition an issue"
Events: Issue Assigned
Condition: I'm not sure
Action: "status name"
issue.assignee == null is not working for me
issue.assignee != originalIssue.assignee - is working for me however it's working also if I change assignee from "someone" to "Unassigned"
Teams break work down in order to help simplify complex tasks. This is often done iteratively, with tasks being broken down into smaller tasks and so on until the work is accurately captured in well-...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events