Issue Assigne

Hello,

I would like to know is there a possibility in JIRA to restrict the assigning of issues per user.

What I mean by that is to make for certain users to be able to pick from the assignee dropdown list only the certain names and to assign the task only to certain people.

How this can be achieved?

Regards,

Dylan

2 answers

0 vote

Not really. The assignee list is determined by "people who can be assigned issues" permission. You can do a little bit with that, using "dynamic" assignees as well as simple rules like "person is developer role" or "person is in group X". By "dynamic", I mean the options like reporter, assignee, custom field value, etc. Problem is that all the options are based on the issue data, and have nothing to do with users.

A simple example here - we list "developers role" and "reporter" as assignable in the project, so the developers work on stuff and then throw it back to the reporter for testing/sign off.

But that isn't going to help you with your list because although you can get clever with groups and user pickers, there's no link between "person" and "person's arbitrary list of people they might be able to assign to".

So, I'm afraid you're going to need some code in order to implement anything like that.

Hi Dylan,

You can create a user property, for example "assignables", containing the list of user names of those users who can be assigned an issue by the user with the property:

You can read this user property "assignables" in the issue creation transition and assign its value to a customfield "Assignable user" of type "Free Text Field (unlimited text)". You can do it using "Read user property" post-function of JIRA Workflow Toolbox plugin:

Then you can test custom field "Assignable users" for matching with a regular expression dependent on a User Picker custom field containing the selected user to assign the issue to. You can do it with validator "A field matches a regular expression" of JIRA Workflow Toolbox:

%{10100} is the field ID for field "Selected user" which if a User Picker. Here is the validator configured:

You can insert the validator in the transition where you show the screen for selecting the user with custom field "Selected user".

Regards,

Fidel Castro Armario

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,314 views 14 20
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot