The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

How do I restrict certain roles to only see certain tickets based on a custom field value?

Jeff
Contributor
February 16, 2022

Hi everyone, I would like to achieve the following without using any 3rd party addon. Hopefully someone can guide me on how to achieve it. Thank you in advance.

Requirements

1) To restrict Role A and Role B to only see specific tickets in JIRA based on a custom field value in the tickets.

Examples
1) If custom field value = A/B/C/D, then Role A & B can see this ticket, else if custom field value != A/B/C/D then Role A & B cannot view this ticket

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

4 votes
Answer accepted
Dave Bosman _Inetum_
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 Champions.
February 16, 2022

Hi @Jeff Boon 

You will need to create a security scheme and add at least 2 security levels. 

First security level would allow everyone to see the issue

Second security level would allow allow everything else than role A and B to see it. 

See this documentation about security levels

Then you will need to create an automation rule that is triggered upon create and edit to change the security level depending on the values. 

Regards

Dave