It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage
Highlighted

Display the group name mapped to an assignee

Hi

I want to display the Group name of an assignee so that every time assignee changes his/her correct group name is displayed.

2 comments

Hi @Abhinav Singh ,

 

Please note that an user can belong to multiple groups. In this case, your requirement needs clarity. 

If you think that when assignee is changed and you want to populate another custom field with the group names that the assignee is part of, then you may want to develop a listener.

Let me know, if you are thinking in this direction.

Regards,

Ravi Varma

Thanks Ravi.

I will make sure users are not repeated in Groups. you are right :

 

"To populate another custom field with the group names that the assignee is part of"

Hi @Abhinav Singh ,

You are happy with the answer, then can you accept it.

If you still need some inputs, please post it and I will try to share my thoughts.

Regards,

Ravi Varma

I doubt you will be able to restrict users to just one group - they need to be in at least one group just to log in, and even those of us who use roles as much as possible find ourselves with most users ending up in several groups.

@Nic Brough _Adaptavist_ ,

Looks like @Abhinav Singh  would like to show the groups that the assignee is part of (as a custom field), by using custom coded listeners. In that case, he has a valid use case.

But, I agree with you that a user in JIRA cannot be enforced to be part of a single group. If @Abhinav Singh is trying to enforce single user - single group rule then this is misleading and he should be aware of how user management is done in JIRA.

@Ravi Varma _Bob Swift Atlassian Apps_  - indeed.  Also, even if you do have a person who is only in one group (which I think we agree is unlikely), the API will still return a list, so the code will have to cope with multiple entries.

Comment

Log in or Sign up to comment
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you