Hi I want to display users of specific group in assigned dropdown field for specific transition
Asked by jawedshaikh:

How can i display users of specific group in assigned dropdown field for specific transition

steps:

1.click on transition, transition screen will display in that assigned field is present, when i select users to assigned that users should be belongs to a specific group/role only, for example if transition is for QA than it should display QA group/role member only, not other groups/roles member


Answers:
author: Thomas Schlegel
body: Hi Mohammad,

you can do it like that:

* create a group with all your QA members, call it "QA members group" or so
* create a custom field, e.g. "QA members", type User Picker
* configure the new field
* Edit User Filtering, add the group to the filter and save
* Put that field on your transition screen
* In your workflow, add a postfunction, which copies the QA member to the assignee field

That's it. :smile:

comments: author: jawedshaikh
body: does not find any post function option in the available list to copy member. can u tell me which postfunction should i select from the given list of postfunction


author: Thomas Schlegel
body: Hi Mohammad,

you're right. With plain Jira, there is no post function for that. I forgot.

But there is a free add on for Jira: [Suite Utilities for JIRA](https://marketplace.atlassian.com/plugins/com.googlecode.jira-suite-utilities/server/overview) - this plugin is adding a post-function "Copy Value From Other Field" which you can use to copy the user from the custom field to the assignee field.


author: jawedshaikh
body: hi Thomas,

I have installed your suggested plugin. can u please explain me this step

* Edit User Filtering, add the group to the filter and save


author: Thomas Schlegel
body: Hi Mohammad,

no problem:

I think, you have created the custom field? If so, go to Administration -\> Issues -\> Custom Fields

Search your new custom field and select "Configure" from the gear on the right side of the screen.

In the following screen, you see the configuration scheme. The last entry there is "User Filtering" - Click on "Edit User Filtering".

Then enable "Enable group or project role filtering", select your "QA members" group and click "Add".

You should see the group now under "Active filters" on this page.

Then click on Save and you are ready. Now this user picker is showing only users of your "QA members" group.


author: jawedshaikh
body: Thanks Thomas,

its working. i have one more question. I dont want to allow user to filter users using other filter showing in users window.


author: Thomas Schlegel
body: This is a global permission called "Browse Users". Removing this permission is described here: <https://confluence.atlassian.com/adminjiraserver071/managing-global-permissions-802592439.html#Managingglobalpermissions-Removingglobalpermissions>

But I don't know, if the solution with the custom field still works, if you disable the global permission. You have to try.


author: amruttesting1
body: Hi Thomas,

when i click on custom field on transition screen i want to hide field mark in red color in the image.![User Picker1.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/25i3FA3AE91AB4F92A5/image-size/large?v=v2&px=999 "User Picker1.jpg")


author: jawedshaikh
body: Hi Thomas,

When i Click on user picker custom field on transition screen i want to hide field cross in red mark in the image. I dont want to display this filter![User Picker1.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/417iDD8D375D2CB8A904/image-size/large?v=v2&px=999 "User Picker1.jpg")


author: Natalia Lezhai
body: HI [@Thomas Schlegel](/t5/user/viewprofilepage/user-id/781483)

We are on Cloud Jira and i cant find your:

"The last entry there is "User Filtering" - Click on "Edit User Filtering".

Then enable "Enable group or project role filtering", select your "QA members" group and click "Add".

You should see the group now under "Active filters" on this page."

There is just no User Filtering here. Can you advice please?

comments: author: Thomas Schlegel
body: Hi [@Natalia Lezhai](/t5/user/viewprofilepage/user-id/1165041) ,

it's still there and looks like this:

![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/60286i803600601DA7E488/image-size/large?v=v2&px=999 "image.png")

Are you sure you created a user picker custom field?


author: Natalia Lezhai
body: Solved: The user filtering option can only be applied to custom fields of type 'user picker (single user).


author: Natalia Lezhai
body: But not for 'user picker (multiple users).


author: Pooja Singh
body: Hello [@Thomas Schlegel](/t5/user/viewprofilepage/user-id/781483) ,

I am facing the same issue on cloud.

But in my case :

1. I have a groups selector (let's call it A) in which We automatically assign a group.
2. On the basis of which group is selected in the **A**field, the user list should be populated for selection in the user assignee field.

You think this can somehow be manipulated?

Thank you in advance.

Regards,

Pooja


Tags: assign

group

transition

user-management