Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How do I allow permission of a group to view issues only if a custom field value is xyz

Brian Cohen
Contributor
October 11, 2011

We want to allow Customer support to have read-only (view only) access to bugs in a project, but only bugs of which a Jira custom field is set to "Customer".

It seems the Security and permission schemes allow only project level decalarations, without allowing any conditions. And the workflow schemes are meant for actual status change/transition permissions, right?

1 answer

0 votes
Nic Brough -Adaptavist-
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.
October 11, 2011

Not quite. You're right about permissions - they handle "who can see project". But you do need to use security schemes for this, because that allows you to hide issues inside projects. The reason it looks like a project thing at first is that you say "use this security scheme for this project"

The way it works (over simplified): When a user looks at a project, Jira checks if they have "browse" /permission/. If there's no security scheme, it lets them see everything. If there is a security scheme, then it looks at each individual issue and checks the security level before allowing them to see it.

You sound like you need a permission scheme that lets everyone in, but then says "if security level = not-customer (replacing your custom field), then restrict viewing to group/role X"

Brian Cohen
Contributor
October 11, 2011

Nic,

Correct, that's EXACTLY what I need! Now how do I do it? ;-)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events