Forums

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

Restrict assignee based on issue type

Rasajna Meka
Contributor
December 27, 2022

If my issue type is epic, then I should be able to assign only to group A

if my issue type is bug then I should be able to assign only to group B

2 answers

1 vote
Alex Koxaras -Relational-
Community Champion
December 27, 2022

Hi @Rasajna Meka 

There are two distinct permissions on every company managed project. I will assume that you are on a CMP. Having said that you have:

  • Assign issues permission: who will be eligible to assign issues to someone else
  • Assignable user permission: who will be eligible to be assigned issues

Project permissions aren't conditional based on groups or users, meaning you can't have more than one permission scheme for a project. The way you set it up, is the only "source of truth".

Since you can't have conditional permissions based on user groups and issue types what you can do is:

  • Remove the assign issue permission from everyone, except e.g. project admins
  • On the assignable user permission place all the users to whom you want to assign issues to
  • On every issue type's workflow create a self transition called "Assign Issue"
    • Add a transition screen to that with a custom user picker field called Epic Assignee
    • Add a user filter for the above field to accept/show only users from group A
    • Add a post function to copy the user from the above custom field to the Assignee field
  • Do the above for the other issue type(s)
0 votes
Mohamed Benziane
Community Champion
December 27, 2022

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events