Hi,
Can you please help me create a groovy script:
If Assignee field was changed from "Unassigned"
then
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: Transition/status name from particular workflow
Thank you
Here you go! Create a Fast-track transition listener and put this in the condition field:
// Gather changed field at the Issue Updated
def field = event.getChangeLog().getRelated('ChildChangeItem').find{it.field == "assignee"}
// Gather old field value
def old_field_value = field.oldstring
// Gather new field value
def new_field_value = field.newstring
old_field_value == null && new_field_value != null
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.