How to add a role to a specific project only?

How to add a role to a specific project only, without it appearing in other projects?


For Issue Security Levels I need a role to identify which users in the project have access to the issues with the Issue Security Level. This role is only relevant for projects having an Issue Security Level Scheme attached.

When adding a role (Admin > System > Roles > Add project role), the role is added to all projects in the JIRA database. For projects without an Issue Security Level Scheme, the role is irrelevant and confusing. How can I have the role appear only in some specific projects (under Project > Administration > Roles).

3 answers

1 votes
Joe Pitt Community Champion Aug 11, 2015

Roles are universal. However they don't need to have a user assigned in every project

Thanks, I figured that one out. However, by "View usage" Jira knows exactly which schemes use the role and which projects are associated with those schemes. So what is the added value of showing the role in other projects too? (The same applies for roles which are specific to a particular Permission scheme)

0 votes
Joe Pitt Community Champion Aug 11, 2015

If they aren't displayed and available you'd need another screen to configure which project they appear in. Then if a project decides to start using one they'd have to contact the admin to have it turned on. It is an implementation decision. If you don't like it put in a request they change it.

I don't think so. Since a role is associated with a scheme (e.g. Permission scheme, Issue Security scheme) and schemes are associated with project, Jira knows exactly which projects should see the role and which ones should not. And by adding a "Global role" checkbox to a role definition, you could easily indicate that a role must be listed in all projects, regardless of the schemes it is used in.

Joe Pitt Community Champion Aug 12, 2015

It is still an implementation decision and you need to put in a change request or modify the source code yourself.

0 votes

Try using a user picker custom field instead of a role. Don't put it on edit screens. Set it in a post function

When using the user picker, adding or removing users cannot be done by the project admin; it requires Jira Administrators permission to change the Issue Security Level settings. Is there any other way than roles to allow the project admin to add/remove users to a Security Level without Jira Administrators permission, that you know of?

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,969 views 12 18
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot