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

This widget could not be displayed.

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
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

167 views 1 3
Join discussion

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