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

This widget could not be displayed.

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"

This widget could not be displayed.

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
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

200 views 1 3
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