Auto-assignment with multiple components

Ben September 12, 2022


I have created 3 components. For these 3 components I have specified the "Component Lead" as the "Default Assignee" and for all 3 components I have also defined one person as the "Component Lead". See:

Bildschirmfoto 2022-09-12 um 11.52.46.png

My question now relates to what happens when an "Issue" is created for which all 3 components are selected.

For help, I found this page https://confluence.atlassian.com/adminjiraserver/managing-components-938847187.html#Managingcomponents-default_assignee
There it says:

"If an issue has multiple components, and at least one of them uses Component Lead, then the Component Lead takes precedence over Project LeadProject Default, and Unassigned as the Assignee. If the components have different Component Leads, the default assignee will be set to the Component Lead of the component that is first alphabetically."

 

Now I create an issue, select all 3 components and leave the "Assignee" field blank:

Bildschirmfoto 2022-09-12 um 11.55.49.png

I would assume that the issue is assigned to JENS, but the issue is assigned to the TEST USER instead. See:

Bildschirmfoto 2022-09-12 um 11.56.04.png

Can anyone help me with this? Did I do a mistake or is Jira wrong? I don't see where I made a mistake (?). I have observed this behavior on several sites and don't know why.

Kind regards,

Ben

 

3 answers

1 accepted

2 votes
Answer accepted
Alex Koxaras _Relational_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 12, 2022

Hi @Ben 

Has Jens a last name? If yes, from what letter does it start?

Alex Koxaras _Relational_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 12, 2022

And in addition, do all of your user has the assignable user permission? Can they be assigned?

Like Leandro Azevedo likes this
Ben September 12, 2022

Hi @Alex Koxaras _Relational_ , 

thanks for your answer. Yes, all user have the assignable user permission . I think the last name of the User is not relevant. The alphabetical order is related to the component, not the User (as I understand it).

Like # people like this
Alex Koxaras _Relational_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 12, 2022

@Ben 

A component default assignee will override the project's overall default assignee. If someone creates an issue with more than one component, and the default assignees for those components are different people, then Jira assigns the issue to the default assignee of the component that was created in the system first.

https://support.atlassian.com/jira-software-cloud/docs/organize-work-with-components/

Like # people like this
Ben September 12, 2022

Thanks! That helped me a lot. Just for your information: Here it is described differently (wrong) https://confluence.atlassian.com/adminjiraserver/managing-components-938847187.html#Managingcomponents-default_assignee 

 

Kind regards,

Ben

Alex Koxaras _Relational_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 12, 2022

Ben the documentation you provide is for the Server, not for Cloud :)

Like # people like this
Ben September 12, 2022

Thanks again ;) 

Leandro Azevedo January 28, 2023

Dear @Alex Koxaras _Relational_ , the text in this link https://support.atlassian.com/jira-software-cloud/docs/organize-work-with-components/ that you have sent before doesn't say nothing about "...assigning the issue to the default assignee of the component that was created in the system first." Could you send the correct link of the documentation that says that ?

I suggest to take a look at this discussion here : https://community.atlassian.com/t5/Training-Certification-questions/ACP-120-Course-Material-amp-Sample-Paper/qaq-p/2187471#M1451 in the post of Tauwa at  Nov 11, 2022 , where it says that "The solution given by the agile experts is that the assignment is based on the id of the component and in fact I have tested it and the explanation is correct. The component with the first (lowest) Id will win."

Alex Koxaras _Relational_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 28, 2023

Dear @Leandro Azevedo yes, it's not there anymore because it has been moved here

https://support.atlassian.com/jira-work-management/docs/organize-work-with-components/

Like Leandro Azevedo likes this
YY哥
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 18, 2023

We could use this Rest API to query a project's components' name & ids. It does select the smallest component id as the assignee. https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-project-components/#api-rest-api-3-project-projectidorkey-components-get

0 votes
Leandro Azevedo January 28, 2023

I suggest to take a look at this discussion here : https://community.atlassian.com/t5/Training-Certification-questions/ACP-120-Course-Material-amp-Sample-Paper/qaq-p/2187471#M1451 in the post of Tauwa at  Nov 11, 2022 , where it says that "The solution given by the agile experts is that the assignment is based on the id of the component and in fact I have tested it and the explanation is correct. The component with the first (lowest) Id will win."

0 votes
Rilwan Ahmed
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 12, 2022

Hi @Ben ,

I too noticed it now. Jira is taking the ID of users and sorting it instead of the display names.

You can click on the names and you see the user ID (its alpha numeric)

image.png

Ben September 12, 2022

Ok, but shouldn't Jira sort it alphabetically according to the COMPONENT, not the component lead?

Like Leandro Azevedo likes this

Suggest an answer

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

Atlassian Community Events