How to get the list of users and their roles for all Jira projects using Jira Command Line Interface (CLI)
This article explains how to get the list of all users and their respective roles for all Jira projects using Jira Command Line Interface (CLI).
Instructions
You must combine the following two actions to get the required information:
Use the following command:
--action runFromProjectList --common "--action getProjectRoleActorList --project @project@ --role "@all" --file AllProjectsroles.csv --append"The command uses:
Additional parameters such as:
AllProjectsroles.csv file to which the output is written into.
It is recommended to test this scenario in a non-production environment or run the action with the --simulate parameter to verify the behavior before deploying.