Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,367,441
Community Members
 
Community Events
168
Community Groups

Auto-assignment with multiple components

Edited


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

 

2 answers

1 accepted

2 votes
Answer accepted
Alex Koxaras Community Leader Sep 12, 2022

Hi @Ben 

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

Alex Koxaras Community Leader Sep 12, 2022

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

Hi @Alex Koxaras , 

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).

Alex Koxaras Community Leader Sep 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

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

Like Alex Koxaras likes this
Alex Koxaras Community Leader Sep 12, 2022

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

Like Ben likes this

Thanks again ;) 

0 votes
Rilwan Ahmed Community Leader Sep 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

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

Suggest an answer

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

Atlassian Community Events