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?
I respectfully suggest not changing an issue's type in an automation rule.
When an issue type changes, many things need to be checked / updated, often leading to prompts to the person to guide the change. This is why Jira has a specific app function in the UX for this: Move. An automation rule cannot stop processing to ask the person questions dynamically, based on data found or missing, to guide the issue type change.
As an alternative, consider cloning the issue to a new type, and then marking the original issue as abandoned with a custom field indicator. (Some users will delete the issue rather than abandoning it, but I would recommend against that: in general, there is no built-in "undo" for deletes Jira Cloud when a mistake is discovered.)
Kind regards,
Bill
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.