Forums

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

Limit create issue by project role

kkwang December 10, 2019

Hello,I have 3 issues:Task,Bug,Story.I just want to project role A can only create Bug,role B can only create Story.How should I do? 

2 answers

1 vote
O
Contributor
December 10, 2019

You cannot limit permissions in such a manner as far as I am aware. The only workaround I can think of would be to have two different projects.

0 votes
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.
December 10, 2019

It's ugly, but you can put code into the "create issue" transition to block them.

If you have ScriptRunner you can do this: https://library.adaptavist.com/entity/restrict-creation-of-certain-issue-types-to-members-of-a-project-role but there are other ways to do the validator.

However, it really is ugly for the end-user.  Imagine you gather together data for 10 fields, possibly quite long (Epics can deserve long stories), enter it all, and then get told "nope, you can't add this".  You can still copy and paste stuff out, or change the issue type, but it's really annoying.

kkwang December 10, 2019

Sorry,I know your mean,but my leader think  Epic is appropriate for PM and SE to create.And other issue like story and bug,all project number can create.So I have to limit it in Epic's workflow.

Thanks for your reply,i will try the script.

Suggest an answer

Log in or Sign up to answer