Hi
I want to display the Group name of an assignee so that every time assignee changes his/her correct group name is displayed.
@Ravi Varma - 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.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.