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

This widget could not be displayed.

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

This widget could not be displayed.

thx! I'll give it a try.

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

144 views 2 0
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