• Community
  • Questions
  • How to limit viewing or editing issue to roles and only in some steps

How to limit viewing or editing issue to roles and only in some steps

I'm really a newbie with jira workflows and I'm bogged down in this issue.
In my workflow I've (let's say) 4 steps A,B,C,D and 2 teams (=group/role) Team1 and Team2.
Team1 can only edit fields in steps A and B and Team 2 can only edit (different) fields while the created issue is in steps C and D of the workflow
If I give the permission to edit issue to group/role of Team2, it can edit ALL the field of the issue, also the ones edited by the Team1 during the steps A and B, but these fields should be frozen.
I'm also thinking to solutions like 2 sub-tasks (but maybe I will have the same problem) or to use security schemes (I never used them before).
Which could be a good solution for this problem?
Thank you

1 answer

1 accepted

check this



to resrtrict edit permission for project role, configure as follows

Property Key:jira.permission.edit.projectrole

Property Value: 10010

Maybe I'm doing something wrong.

In my workflow I assigned the permission to Edit Issue to the roles Role1 and Role2. Then in step B, I assigned the property:

jira.permission.edit.projectrole (key)
Role1 (value)

'cos I want that in step B only role Role1 has to be able to edit the issue

When I execute the transition from step A (that has no properties) to step B I get the following error:

2013-07-15 15:26:34,026 http-bio-8080-exec-12 ERROR      [500ErrorPage.jsp] Exception caught in 500 page For input string: "Role1"

java.lang.NumberFormatException: For input string: "Role1"
    at java.lang.NumberFormatException.forInputString(Unknown Source)
    at java.lang.Long.parseLong(Unknown Source)
    at java.lang.Long.<init>(Unknown Source)
    at com.atlassian.jira.notification.type.ProjectRoleSecurityAndNotificationType.getProjectRoleActors(ProjectRoleSecurityAndNotificationType.java:248)
    at com.atlassian.jira.notification.type.ProjectRoleSecurityAndNotificationType.hasPermission(ProjectRoleSecurityAndNotificationType.java:190)
    at com.atlassian.jira.notification.type.ProjectRoleSecurityAndNotificationType.hasPermission(ProjectRoleSecurityAndNotificationType.java:197)

Is there something that I'm not doing in the right way?

did you enetered role id as the property key value?

check my answer i have updated

Suggest an answer

Log in or Join to answer
Community showcase
Maarten Cautreels
Posted Thursday in Off-topic

Friday Fun: What's your favourite beer/drink

As a Belgian, beer-lover and home brewer, beer is one of my great passions. I love the fact that with just a few ingredients (usually just water, hop and malt) you can create so many different tastes...

288 views 38 9
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot