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

Accepted Answer
0 votes
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
Community showcase
Posted Oct 11, 2018 in Marketplace Apps

You + one app + a desert island...

Hi all! My name is Miles and I work on the Marketplace team. We’re looking for better ways to recommend and suggest apps that are truly crowd favorites, so of course we wanted to poll the Community. ...

2,594 views 5 6
Join discussion

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