Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Userpicker field

Garden16_ April 25, 2022

QA group is a custom field that I built. In this field, I'd like to display only members of a QA team that are specific to the project .

Alternatively, I'd like to re-use the same custom field QA group to display a different project's Tester group.

 

Example. : QA Grp: Project A's Project A tester grp

QA Grp :  Project B tester grp   for Project B

 

How do I use the same custom field and keep changing the user groups based on different  projects.

 I would want Project A team to  see only Project  A  QA group Testers , and I would want  Project B Team members to see only  Project B QA testers  while still be able to use the same custom field QA group in both  the projects.

Please note that I have script runner add on 

2 answers

1 accepted

1 vote
Answer accepted
Mark Segall
Community Champion
April 25, 2022

Hi @Garden16_ - This would be a use case for creating contexts for each project.  Custom fields allow Jira Admins to create multiple contexts so the same field can be used across different projects and/or issue types.

Here's more information:

https://support.atlassian.com/jira-cloud-administration/docs/add-a-context-to-a-custom-field/

0 votes
Anzar
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 25, 2022

Hi @Garden16_ ,

You can create a role in your system named 'QA' and now this can change from project to project.

Then to align it with your requirement, you can create a custom field with type single user picker and 

Check out this page, specifically:

You can limit the set of users available in your user picker field. The users can be limited to users in specific groups and/or project roles.

  1. Navigate to the Custom Fields page, locate the desired custom field and choose cog icon >Configure.
  2. Click Edit User Filtering.
  3. Click Enable group or project role filtering, then specify the groups and/or roles that you want to limit the user picker to.The user picker will only show users that are in the groups and roles selected.
  4. Click Save.

In 3. You need to select the project role 'QA' so that the field always filters out users only from that project roles.

Hope this helps.

Regards,

Anzar

Suggest an answer

Log in or Sign up to answer