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.
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.
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...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.