Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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,464,822
Community Members
 
Community Events
176
Community Groups

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

Like Ravi Varma _Appfire_ likes this

Comment

Log in or Sign up to comment