Issue level security - unsuccessful

chintu Parameshwar August 18, 2013

Hi,

I have my requirement like this:

User can create an issue and there will be a multi-group field "MyGroups" to be populated while creating. Only the populated groups can access the issue.

Here are my steps to achieve this:

1. Created "issue security scheme" with a single security level "test" by adding this multi-group customfield(MyGroups).

2. Added this security scheme to "MyProject" and enabled "set Issue security" for jira-users in this project permissions.

When I create an issue by adding a group(jira-administrators) into MyGroups, still the issue is accessible outside users of the given group(jira-administrators).

Am I missing anything here in my configuration?

Please help me. Thanks in advance!

6 answers

1 accepted

1 vote
Answer accepted
Udo Brand
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.
August 18, 2013

From what I read I would say there is no security level set on the issue.

When you create the issue, do you set the security level for this issue to "test" by default?

Do you have the permission to set the security level?

0 votes
chintu Parameshwar August 19, 2013

https://jira.atlassian.com/browse/JRA-12125 solved my problem. Thanks!

0 votes
chintu Parameshwar August 19, 2013

I have only one security level and it should be applied to all the issues. So I don't want user(who has perms) to modify the security level manually. I tried hiding "security level" field in my field configuration scheme then it is not working as expected. As I set test as my default security level, the issue should have value test in security level field though it is not show on create/edit issue right? am I missing anything here?

0 votes
chintu Parameshwar August 19, 2013

Setting "test" security level as default solves my problem. Thanks!

0 votes
JamieA
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.
August 18, 2013

Maybe you are looking to do the step than Rambanam says automagically - if so consider using https://jamieechlin.atlassian.net/wiki/display/GRV/Built-In+Scripts#Built-InScripts-SetIssueSecurity.

0 votes
RambanamP
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.
August 18, 2013

As @Udo said you have to set Security Level dropdown field value as test

check this doc for more information

https://confluence.atlassian.com/display/JIRA/Setting+Security+on+an+Issue

https://confluence.atlassian.com/display/JIRA/Configuring+Issue-level+Security

Suggest an answer

Log in or Sign up to answer