Forums

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

Allow a user to open an issue only to specific issue type

itay December 11, 2018

Hi EveryBody!

I have a question about the permissions.

I have on my project 2 type of workflows...

General one that was made for developers and another one for design.

I have a user with a marketing user role that has the permission to assign issues.

But it is not good enough, I want him to be able to assign issues only to issue types of design.

For developers there will be some other user that will assign the issues.

Can it be done? maybe by adding some property to the create transition?

 

Thanks!

 

1 answer

1 accepted

1 vote
Answer accepted
Payne
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 12, 2018

If you have ScriptRunner installed, this can supposedly be accomplished using behaviours: https://scriptrunner.adaptavist.com/latest/jira/recipes/behaviours/restricting-issue-types.html

I say "supposedly" because the functionality was broken (https://productsupport.adaptavist.com/browse/SRJIRA-1010) but is reportedly now fixed.

We implemented this business requirement when that behaviour was not functioning properly, so we instead used a scripted validator that catches someone trying to create an issue type that they shouldn't. It's not as user-friendly, in that the warning appears after they've filled out the fields (though, when they switch to the correct type, the data in common fields such as summary and description are preserved), but users are educated as to which issue types they should be creating, so it's rare that the validator catches one, but it's there to make sure a mistake isn't made.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events