Forums

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

Restrict users to assign issues in specific issue types

Nina Huang April 21, 2022

Hi,

For some plug-in reasons, I have to allow users to assign subtasks to themselves. So I gave them permission to "Assign issues" in project permission.

But now the problem is they are able to assign to any other people in any issue type. It caused problems. 

 

Could anyone know how to restrict users to assign issues in specific issue types? Thank you in advance.Assign permission.pngfault permission.png

2 answers

1 vote
Nic Brough -Adaptavist-
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 21, 2022

Actually you can almost do this, but it is a bit of a slog.

Let's say you have a simple case - a project, with issue types Task, Bug and Story.  All three types are set up to use a single workflow, which is To-do -> In-progress -> Done.

Now let's say you want people to stop assigning bugs after they go into "in progress".

Your permission scheme currently says "Assign issue can be done by anyone in the roles of Developer, Administrator and Client"

You can:

  • Make a copy of the workflow
  • Edit the copy, and find the in-progress step and click on it to get the pop up for it
  • Go to the property tab and add a property such as:
  • jira.permission.assign.projectrole = Administrator
  • Save the changes to the workflow
  • Go back to the project admin and associate the workflow with the bug issue type

You will find that only people in the project role "Administrator" can assign bugs when they are in the in-progress status.

That controls who can assign issues, but it's the same method to restrict who you can assign the issue to.  You can't quite do "limit it to the current user".  Jira.permission.assignable.... can only limit the assignee list to applicationRole, assignee, reporter, sd.customer.portal.only, groupCF, group, lead, projectrole, user, userCF

1 vote
Sreenivasaraju P
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 21, 2022

Hi @Nina Huang ,

As per my knowledge, this feature is not available. Permission are at project level not at issue type level.

https://jira.atlassian.com/browse/JRASERVER-5865 

You can refer below link , for similar question and response from Atlassian team

 

https://community.atlassian.com/t5/Jira-questions/Restricted-privilege-for-specific-issue-type/qaq-p/1364451

Nina Huang April 21, 2022

Alright. Thank you then. I will figure out some other ways. Do you have any suggested plug-ins to do the thing?

Suggest an answer

Log in or Sign up to answer