Granting permissions to a project role through properties

Hi,

I tried to grant a permission to assign issues to a project role for one step of my workflow.

The rest of the WF I want the permission to be denied. So in permissions I excluded the role and then set the properties for the chosen step as follows:

 

Property Key: jira.permission.assign.projectrole

Property Value: 10200

 

The user with the respective role still cannot assign issues in the given workflow step. Any idea what might be wrong?

thx

1 answer

1 accepted

Hi Zbynek.

Once you denied permission through permission scheme, you can´t grant it within the workflow.

So, you need to grant permission in permission scheme, and then restrict it in each status or transition.

Regards, Aylin.

Ah OK - More work for me but that's exactly what I needed thank you smile

 

one more thing though: the solution seemed to have denied the permission not only to the intended project role but the others as well so I suppose the following is not right either:

Property key: jira.permission.assign.denied.projectrole

Property value: 10200

The thing is similar to the permission restriction through permission scheme: once you use “denied” in the property, the permission before the denied word, is restricted for everyone, no matter what you add after it (for example jira.permission.comment.denied means the comment feature is disabled at state you add the property)

Have a look at this site, is really usefull: http://www.j-tricks.com/tutorials/permissions-based-on-workflow-status

In your case, what do you need? Restrict assign permission to only one transition? To only one project role?

exactly - I need my client (project role) not to be allowed to assign issues except for one step of the workflow (other project roles are always able to assign)

Suggest an answer

Log in or Join to answer
Community showcase
Teodora [Botron]
Published Thursday in Marketplace Apps

Jira Inferno: The Nine Circles of Jira Administration Hell

If you spend enough time as a Jira admin - whether you are managing a single, mid-sized instance, a large enterprise one or juggling multiple instances at once - you will eventually find yourself in ...

661 views 4 15
Read article

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