Is there a way to change issue type when I edit an issue


Am looking for a way to automatically change the issue type if I add a component.

For example, if I edit an issue of type "A" and add a component "B", I would like the issue type to change to "B" on save.

I am aware of the complexity due to issues having different workflows with different statuses.

Am open to work around suggestions :)

Thank you very much in advance.

1 answer

1 accepted

0 vote
Andreas Knecht Community Champion Jan 18, 2018

Hi Etai,

So this would only work, if the source & target issue type use the *same* Jira Workflow.  If that's the case, then you should simply be able to use our 'Edit issue' action and select the 'Issue type' field from the available fields.

Your rule would looks something like this:

  • Trigger: Field value changed with 'component' selected
  • JQL Condition: component = <your specific component B you want to check for>
  • Edit issue: Set the issue type to your target issue type

If the issue types are using two different workflows though, then this wont work.  This requires a multi-step workflow migration (potentially requiring user input along the way), which isn't feasible to do in an automation rule.

Hope that helps!


Thank you Andreas.

The issues types have different workflows.

I think I can still use your suggestion.

1. Use two different types with the same workflow.

2. Automate flipping between types based on component.

3. Automate one of the types to bypass a status.

Thanks again.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published yesterday in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

71 views 0 5
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you