Forums

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

How to restrict the users or groups from issues by using issue security scheme

Sai Bandarupalli May 10, 2019

I have a custom field called "MARKET" (Drop down field) in that field we have values like Australia, Hong Kong & Brazil. I have groups for Australia, Hong Kong & Brazil and in that groups we have different users in each group.

For Example:- Now if the users select Australia in the market field then only users in the Australia group should only be able to see those issues and the other group users should not be able to see those issues 

2. is there any any option restricting the users in groups to create the tickets based on same above requirement like if any one select Australia then the users in the Australia group should only be able to create the ticket.

 

Please any one help me out..... 

1 answer

0 votes
Alexey Matveev
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 10, 2019

Hello,

You would need to create your own custom validator. There are multiple apps available: Power Scripts, ScriptRunner, Groovioli, MyGroovy. 

If you want to use the Power Scripts app, you validator would look like this:

if (#{Market Field Name} == "Australia" and usersInGroups({"australia-group"})) {

  return true;

}

return false;
Sai Bandarupalli May 10, 2019

Hello @Alexey Matveev , can we do without the script is there any possibility

Alexey Matveev
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 10, 2019

I believe, that it is not possible without a script.

Suggest an answer

Log in or Sign up to answer