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 vote

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 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 Sunday in Agility

You asked for it, so we delivered: images on issues have arrived

A picture tells a thousand words. And agility boards have just released their latest feature: cover images on issues – so now your board can tell a story at first glance. Upload attachmen...

175 views 1 10
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