Conditional Permissions

JM R_ January 1, 2016

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
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 1, 2016

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

JM R_ January 3, 2016

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

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 3, 2016

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

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 3, 2016

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"

0 votes
Ansar Rezaei
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 2, 2016

Hi

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

JM R_ January 3, 2016

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

Ansar Rezaei
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 6, 2016

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.

Ansar Rezaei
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 6, 2016

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