How to JIRA Change Component auto change assignee


I have two question.

1. Why JIRA create issue can select muliti componts. And how to set only set on component.

2. When I create A issue and select Automatic Assignee. After create I edit the issue and change the component, but the assignee did't change. I have to edit the assignee the assignee again.

How can I change the component the assignee auto change the other component leader.

1 answer

1 accepted

2 votes
Accepted answer

1. Components is a field for, well, defining what components an issue is related to. It's very useful to be able to select multiple components. For example, if your project is "Build a car", then the issue "Car drags to the left on test tracking" would have multiple components when it's raised - could be the tracking, the tyres, the steering system and so-on.

If you want to make it a single-select field, then your options are

  • Stop using components and use a single select field
  • Hack the component template so it only allows single-select
  • Use the behaviours plugin to allow only single select
  • Add some javascript to make it single select ( should work for components too)
  • Add validators that stop users progressing with multiple values selected

2. Automatic assignee only applies on create issue.

There is a function for re-applying it on transitions, but I think it's in a plugin, rather than Jira core (Misc workflow extensions?). You could use that, but it won't help you on edit. If you want to amend assignee just because the components are edited, then you'll need to find/write a listener.

Hi Nic

I had added the components validation.

And When I add the edit listener, I don't know how to judge the components is changed.

How to get the original issue, it seems only in transations.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

812 views 3 9
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