Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Change Issue type with automation rule

Mohssine November 30, 2023

Hi,
I have a request to create an automation rule

We want to create an automation rule to change the issuetype. Knowing that both issuetypes have the same worklfow.


Is it possible to do this on JSW using only the native options? 

Thanks for your help

2 answers

2 votes
Rilwan Ahmed
Community Champion
November 30, 2023

Hi @Mohssine ,

Welcome to the community !!

This is possible in inbuilt Jira automations.

Go to project settings --> Automation --> Create Rule as follows

When: Select the required action
IF: JQL condition. Give the required JQL condition to match what tickets needs the modification
THEN: Edit Issue. Here select the Issue type field and the destination type

Sample Rule:
image.png

0 votes
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 30, 2023

Hi @Mohssine -- Welcome to the Atlassian Community!

What problem are you trying to solve by doing this?  That is, "why do this"?  Knowing that may help to the community to offer other solution approaches, because...

Although an automation rule can change an issue type, I would not recommend that. 

There are several things which can happen when changing the issue type, which is why Atlassian created a feature in the UI for this: Move.  That feature can ask questions, when needed, to handle the change, and it can prevent the change when it is not possible.  Automation rules cannot pause to ask the user questions.

Instead consider using either the Clone or Create Issue action to address this need, and then either abandon or delete the original issue in the rule.

Kind regards,
Bill

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events