Bulk Change Project Role Assignments

Is there a way to add a user to a project role across all existing projects -- in bulk? Default role memberships is a good way to be proactive but we are looking for a retroactive method.

3 answers

2 accepted

Accepted Answer
2 votes

JIRA Command Line Interface addProjectRoleActors action. Use runFromList or runFromSql to make is easier to all projects.

Thanks Bob. My assumption will be that since you put in the effort to crearte this functionality then it cannot be found as a native JIRA operation.

We utilize some of your other work. This will be helpful, too.

With Tempo's recent move of changing permissions schemes to add a Project Role making it ncessary to add all of our company managers manually to existing projects I found a need to search for a solutoin to do it quickly ... and here I am again finding that the only way is to pay.

Sorry Bob, nothing against you making money ... just highly against forced changes that give me more work and no solution without having to spend more money than we already are.

Just a question: The command is the following: jira --action addProjectRoleActors --project "zjiracli" --role "administrators" --userId "project-admin" If I have 2,000 projects, is there some command like this? jira --action addProjectRoleActors --project "all" --role "administrators" --userId "project-admin" or what about if I need just 1,990 projects (not all projects)?

Hi, I realize this is an old thread, what it might be worth mentioning that Profields 6.0 features Bulk Operations, a feature inspired in Jira's own bulk changes but applied to project entities.

Specifically, Bulk Operations allows adding any number of users to a role in any number of projects with just one action. 


See the full doc here

You can now do this for no extra charge by going to the Administration > Roles page for the project where it lists available roles. Here, you can click in the Users/Groups column to add membership to these roles for the existing project.

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,160 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