How to use project roles to define licensed jira users?

I'm not sure if this is possible, but I'm looking to see if there is a way that I can setup Jira so that when a person gets set into a project role, then that person will essentially get the "JIRA Users" license head count without having to put them in the jira-users (or any other group with JIRA Users Permissions).

The situation I have is that we are setting JIRA up across multiple development departments that each have their own projects and teams. I don't want to have to manually administer each of their projects when they have people they want to add or remove. Each project has a project administrator that can add people to roles. I would like for them to just handle the project roles and users to be able to log into jira if they just belong to a project role. We don't want to give each project administrator JIRA admin rights. We are also using AD, so all users are already in the system, just without any groups or roles. Our AD admins will not allow us to create groups though and then manage them.

Any solutions?

2 answers

1 accepted

Accepted Answer
0 votes

Not without amending the core of Jira. The rule is not quite "must be in group", it's "user can log in", but that is effectively locked to "must be in a group that is flagged for counting as a login".

I do see the logic of your scenario, I think. In Jira terms, you'd like people to have accounts with no groups, until they're added to a role by a project admin.

It's a bit torturous, but I can sort of see a workaround that avoids core coding too. Continue with the AD stuff as it is (no groups etc), and the project admins as they are. What I'm thinking is that when a user is added to a role, there *might* be a "user event" fired. If that is right, you could write a Listener plugin that could catch those events, look at the user profile, and if they're not in a login group, add them into one. You'd probably want to catch "removed from role" too, which would automatically remove unused users.

While it is not an answer for resolving the issue, it is the answer to fix it down the path.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 18, 2018 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...

22,238 views 2 7
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