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 Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

80 views 0 5
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