Conditional Permissions

Hi,

Is it somehow possible to have some kind of conditional permissions on issues?

Like if User A or User B is the reporter, then either User A or User B may close the issue.

Best regards,

Marki

2 answers

1 votes

That's what "conditions" on the workflows are for. 

For your specific case, log in as an admin, edit the workflow, and look for the "close" transition.  Check the conditions on it, and add "Only reporter" to them

No you didn't get the question :) (Or I didn't get your answer) What I want is: If either user A or user B is the reporter, either one of them may close the issue. (Especially, if user A is the reporter, user B may also close the issue, and vice-versa, but not if user C is the reporter.)

Ok, that was totally unclear. Put both users in a role, and use the condition "only users in role X"

Ah, no, sorry, that's not right either. You'll need code to do this. There is no condition that says "if X is a reporter then change who can use this transition"

Hi

Another answer is setting "Only Reporter Condition" on transitions to Close step(status).

No you didn't get the question :) (Or I didn't get your answer) What I want is: If either user A or user B is the reporter, either one of them may close the issue. (Especially, if user A is the reporter, user B may also close the issue, and vice-versa, but not if user C is the reporter.)

You can restrict user C for closing issues. But if you set Close issue permission for user A & B, they can close the issues of each other and also they can close user C issues. If you need another level of permission, simply add another custom user picker as for example 2nd Reporter and work with that.

You can restrict user C for closing issues. But if you set Close issue permission for user A & B, they can close the issues of each other and also they can close user C issues. If you need another level of permission, simply add another custom user picker for example 2nd Reporter and work with that.

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 ...

655 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