Forums

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

Setting security by groups based on a custom field value

Rachit Khare
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!
April 16, 2019

I'm trying to setup group permissions such that when an issue is created and a value is selected from a dropdown in a custom field, only a certain group can view that issue.

 

Imagine there is a university that uses Jira to track issues. The university has many faculties (groups) such as business, applied sciences etc. When an issue is created and the value selected from the drop down is one of Economics/Marketing/Finance I want only the users in the business group to be able to see it.

 

Is there a way this can be setup without a plugin? If not, what plugin can be used to implement this behaviour?

 

Many thanks!

2 answers

1 vote
Rachit Khare
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!
April 16, 2019

So I think I was able to solve this issue by using a custom field called group picker and then assigning browse project permissions by the group field. That way when an issue is created, the relevant group is pre-selected and can only access those issues.

 

I'm still curious to know if there are other and better implementations out there.

0 votes
Antoine Berry
Community Champion
April 16, 2019

Hi @Rachit Khare ,

I do not think this is possible out of the box. However you could use ScriptRunner plugin (which is widely praised) to implement this, using a post-function : 

image.png

Antoine

Suggest an answer

Log in or Sign up to answer