How to get all the Jira users list using Jira Command Line Interface (CLI)
This article explains how to get all the Jira users list using the Jira Command Line Interface (CLI) app.
Instructions
Use the getUserList action to retrieve the list of all users along with the detailed data to align with the name, file and outputFormat parameters.
Execute the CLI command below to get the user list.
--action getUserList --name "@all" --file "all-users.csv" --outputFormat 999
The following parameters are used in the mentioned command:
- name - Specify the name of the user. To get all users, you need to provide @all.
- file - Specify the name of the CSV file.
- outputFormat - Specify one of these values to get the respective data.
1 - basic, 2 - extended attributes, 999 - all
The output file from the above command will be similar to: