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

Hello,

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

This widget could not be displayed.
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!

Cheers,
 Andreas

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 Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Published Jul 25, 2018 in Marketplace Apps

Jira Cloud and Bitbucket Cloud Integration with Microsoft Teams

One of the newest products in the Microsoft family - Microsoft Teams,  is a chat-based hub for teamwork that integrates all the people, content, and tools your team needs to be more engaged and ...

733 views 0 3
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