Forums

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

Restricting user access according to custom field

Tataru Sebastian
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 5, 2020

Hi all,

 

I am currently using Jira Software 8.7.1 and Jira Service Desk 4.7.1. These are used for a ticketing system, where there are issues, each including custom fields with certain values.

 

I want to restrict the access of users in accordance with those custom fields, but I'm not quite sure how. I want an user to see only the other issues that have the same value in the custom field: Under each issue, there is a details tab with a field x, which has the value y. All the other users that also have the value y for the field x in the opened issue should be able to see the previous example.

 

An important mention would be that all those tickets are within the same project.

 

Thank you!

 

2 answers

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.
May 5, 2020

The only way to "restrict" people's access to issues in a project is via the issue level security  These rely on the same things permissions do - roles, groups, individuals, user or group custom fields and dynamic roles (reporter, assignee etc)

You will need to base your restrictions on the content of user-related fields, not arbitrary custom fields (you might be able to do it on other custom fields if you have an automation or scripting app that can write data out to a user field for the security scheme to work from)

0 votes
Derek Fields (RightStar)
Community Champion
May 5, 2020

I don't think that your use case makes sense. You have a custom Field "CFX". CFX has a list of possible values. On Tickets 1, 2 and 3, CFX="A".  On Ticket 4, CFX = "B".  how does the value in CFX relate to users? 

Suggest an answer

Log in or Sign up to answer