Forums

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

Restrict User Picker to Role and Project

Justin_Scott December 19, 2019

I've read a ton of documentation about the user picker filtering, but I'm not sure if this is possible.

I'm trying to set up a user picker that filters out everyone except our customers, and is also different depending on which project it's in.

For example, project 1 user picker will only show customers in project 1, and project 2 user picker will only show customers in project 2.

Is this possible? Or do I need to set up a different user picker field for each project.

 

2 answers

1 vote
Jonas Ekström
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.
December 20, 2019

Hi,

That should be possible, at least the way I tried.

If all the customers have the role "Service Desk Customers" (or at least one common role in the project) you can configure User Filtering on "Project Role: Service Desk Customers" on the custom fieldCapture1.JPG

Mike McNamara
Contributor
March 18, 2021

Thanks for this. It helped trigger a solution for me.

Using a custom "Assign to" user picker field on a transition screen, I can allow the user to select someone within restricted project roles. Then using a Post Function (via JSU), I can take that user and write it into the Assignee field. This effectively allows me to restrict Assignee's on different transitions within a workflow.

Like # people like this
Suprija Sirikonda _Appfire_
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.
March 19, 2021

With reference to the comment from @Mike McNamara ,

To assign issue to the user selected in the user picker field[Assign to(Restricted)], you could configure Copy Value From Other Field (JSU) post-function as shown below : 

 

Screenshot 2021-03-19 at 7.22.36 PM.png

Refer to the official documentation of JSU

Thanks,

Suprija

Like # people like this
0 votes
Johannes Rudolf
Contributor
June 10, 2020

For some reason I was unaware of that. But now I know and it helped a lot. Thanks!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events