users by project report

I´m trying to audit users on our account and I need a report showing users and role assigned to project/s. Is there a way to get this information?

Thanks.

2 answers

1 accepted

You can use the getProjectRoleActorList action from the JIRA Command Line Interface (CLI) add-on  to produce a list of groups and/or users who are assigned to project roles.

For instance, this command:

jira --action getProjectRoleActorList --project "myprojkey" --role "@all" --outputFormat 2

returns output like this:

"Project","Role","User/Group Id","Description","Type"
"myprojkey","Administrators","jira-administrators","jira-administrators","atlassian-group-role-actor"
"myprojkey","Administrators","jira-developers","jira-developers","atlassian-group-role-actor"
"myprojkey","Administrators","jdoe","John Doe","atlassian-user-role-actor"
"myprojkey","Developers","jira-developers","jira-developers","atlassian-group-role-actor"
"myprojkey","Users","jira-users","jira-users","atlassian-group-role-actor"

If you then need to see the members of various groups, you can use the getUserList action.

BTW, the above technique works on both JIRA Server and JIRA Cloud. wink

 

Can we get all projects, rather than only a single project? In other words, can we use a wildcard in the projects parameter?

I've tried % and *, without success...

thx! I'll give it a try.

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

3,088 views 13 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