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 vote
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 vote
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 vote

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 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 Thursday 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...

118 views 0 5
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