Hello !
In my company, we would like to set up an automation rule to edit issue type.
Let's say we have 2 projects : "SUPPORT" (service management) & "DEV" (team-managed software).
Someone creates an issue in the "SUPPORT" project, then, when ready, click on the "Excalate Issue" to create a new issue in the "DEV" project.
The initial need was to have all "DEV" issues inside the "jira/servicedesk/projects/SUPP/escalations" view.
As we cannot reach the goal, we are looking to use another method.
We are now OK to have only "SUPP" issue inside this view. But to do so, we need to edit escalated issue type to the one configured to show on the escalations view.
When working with Automation, we are doing :
WHEN: Issue linked (Types: Developer Escalations)
THEN: Edit issue fields (Advanced)
{"destinationIssue": {"fields": {"issuetype": {"id":the_new_issue_type_id}}}}
But this is not work as expected.
What is the right way to edit the issueType of the "SUPP" issue and not the "DEV" ticket?