Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This article explains how to get the list of Jira components using the Jira Command Line Interface (CLI) app.

Instructions

Use getComponentList action to retrieve the list of all users along with the detailed data to align with the project, file and outputFormat parameters.

Execute the below CLI command to get the list of users.

Code Block
themeMidnight
--action getComponentList --project WUC"learn1" --file "list.csv" --outputFormat 999

...

  • project: Specify the name of the project. 
  • file: Specify the name of the CSV file.
  • outputFormat: Specify one of these values to get the respective data. 
    • 1 - Basic details.
    • 2 - With project.
    • 999 - All.

The output file from the above command is similar to the below-mentioned screenshot: 
Image Removed

...


Here, the --outputFormat is 1:

Image Added
Here, the  --outputFormat is 2:
Image Added

Here, the  --outputFormat is 999:
Image Added