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

0 votes
Accepted answer

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 Sign up to answer
Community showcase
Published Feb 13, 2019 in Jira

Make your Atlassian Cloud products more secure: our NEW admin security guide

Hey admins! I’m Dave, Principal Product Manager here at Atlassian working on our cloud platform and security products. Cloud security is a moving target. As you adopt more products, employees consta...

622 views 0 12
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