Forums

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

Restrict access for workflow status

Sibiya Abraham September 10, 2020

I want to restrict access to each workflow status. Is there a way to do that?

I have Open, In progress, Review, Submit, verified, Done. I want one group of users to edit/view the issue and add attachments/comments only when they are in Open and In progress status and another group of users to edit the same issue and add attachments/comments only when it moves to Submit and Verified status. That means, the first user group should not be able to do anything to the issue ticket when it is in the Submit or Verified status.

So i guess the issue should be Browse Only for one group when the other group is working on it. That is why i thought i should segregate them based on the status of the issue.

Is this possible?

 

2 answers

2 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.
September 10, 2020

Yes.  You set up the project so that both groups of users have the edit, transition, comment, attach and so-on permissions.  

Then you can use workflow properties  on each status to say "only group/role X has permission Y when an issue is in this status".  For example, to the "Verified" status, a property of "jira.permission.edit = second-user-group" would stop the first group from editing the issue while it is in verified

Florian
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.
September 10, 2020

I like that. Have to try it out. 

Sibiya Abraham September 18, 2020

@Nic Brough -Adaptavist-  I tried what you suggested above. For Open, In progress and Review i gave jira.permission.edit = Group1 and for Submit and Verified i added jira.permission.edit = Group1, Group2.

But when a user under Group2 tried to edit a ticket in Open status, she was able to. The Group2 user was able to edit the summary, description, add comments etc and also transition from Open to In progress. So i even added the same property for the transition from Open to In progress and it still let the Group2 user to behave like Group1.

The Group2 user is a test user added only to Group2 which I double checked.

The project permission that i gave to this project is new and I have added both the groups explicitly for edit, transition, comment etc

Is there something else i should have done?

0 votes
Sibiya Abraham September 29, 2020

can anyone help on my question above please

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