Forums

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

I would like to restrict certain project roles only to edit the issue- user story at particular stat

Jawad Haider May 27, 2019

Hello

 

I would like to restrict certain project roles only to edit the issue- user story at particular status in the workflow 

Like I have 2 project roles in permission scheme

1) administrators

2)scrum master 

I want only scrum master able to edit the issue when the issue status is "ready for development" in the worflow not administrators project role.

 

I have added this property jira.permission.edit.projectrole.1=10401 in "ready for development" status in the workflow.10401 key i have taken from system->projectroles

But as an adminsitrator i should be stopped to edit it but i am still able to edit this issue though i am only allowing scrum master to edit it 

Please note that in permission scheme for edit issue these 2 roles are already added

1)administrators

2)scrum master

 

Kindly guide me what i am missing and doing wrong

 

Thanks

Jawad

1 answer

1 vote
laralg
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.
May 28, 2019

Hello Jawad,

Have you taken into account the project permissions? What you are using are workflow properties, with only that maybe you are not restricting anything.

What I would do is. Delete the workflow properties, they are to hard to keep track.

Cancel Edit permissions in issues so no one can edit.

Create a workflow transtion with a screen with all the fields that are in the edit screen ( a fake edit screen) and put the conditions/validators you need.
With that, no one can edit the issue and and you can control a single transition in a status with who can or cannot edit.

 

Regards

Suggest an answer

Log in or Sign up to answer