/
Makino || New Automation Items

Makino || New Automation Items

1.Introduction

Need to create a script to automate the Assignee change, if two issues is in “In Progress“ status.

2.Use Case

Trigger

Action

Trigger

Action

[Customer Credit Approval] goes to In Progress
AND
[VP/NSM - Approval] goes to in progress

Assign [Notice of New Order] to Workflow Coordinator, (custom field)

 

When the two issues (Customer Credit Approval) and (VP/NSM - Approval) are in “In Progress“, then we need to change the assignee. The assignee value we need to take it from the workflow coordinator field.

3.Solution

Solution 1: We can add a Script-runner post function on “In Progress“ transition

Merits:

  • The script will only run on this status change.

De Merits:

  • It will be difficult to change the value based on two issue status.

 

Solution 2: We can a Script listener on “Issue Updated“ event

Merits:

  • Easy to fine the issue status value.

De Merits:

  • The script will be running in all issue update event