How to auto-match select list values with project role ?

We want to give editing and viewing permission to specific project role according to select list value chosen when a reporter creating issue. I think it can be handled by matching select list values with project roles. Is it possible to do or (if not) do you have any suggestion to solve the problem?

1 answer

Hi, I believe you are looking for issue security. This can do what you require. You can map issue securities to roles. This can be configured on issue creation.

Refer to https://confluence.atlassian.com/display/JIRA/Configuring+Issue-level+Security for more information.

The issue security can do exactly that. All you need to do is create an issue security scheme and assign it to your project. After, map the roles the reporter needs to choose to each issue security you create. These mappings will then be able to be selected when you add the issue security field to the create screen.

Issue security give permission for any issue type. But i need a little different thing other than that. When creating issue , reporter pick a select list value and according to that value,only select list value related project role can view that issue.Thanks anyway...

You will need some code to do this. The security field will present all of your users with the full list of security levels that they could choose.

I suspect you want to remove the field from the create screen, and have a post-function that works out what level should be set (based on who they are and maybe some other data) and sets it for them.

You can give the issue security a meaningful name. All it is is entries like:

<security name> : <list of groups/roles/users>

And in the select list, you pick based on security name, e.g. <All users>, <Users and Reporters>, <Administrators>

I think a reporter don't know which issue security to choose. They only use a select list when creating an issue and they should maybe indirectly choose with matching option. All i need to handle that problem. Thanks Harry.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published yesterday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

34 views 0 4
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you