Versions Compared

Key

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

This article explains how to get the list of all projects and the related permission scheme in a CSV file using the Jira Command Line Interface (CLI) app.

...

The support for retrieving the list of all projects and the related permission scheme in a CSV through the action getProjectList is available since CLI v9.3.0. Refer to the CLI action given below:

...

Execute the following action:

Code Block
--action getProjectList --outputFormat 999 --columns 1,16 --file "projectwithpermissionscheme.csv"

In this action, --outputFormat, --columns & --file refers to the details mentions below:

outputFormat: Determines what columns are retrieved for the list.
columns: Column selection and ordering when action generates CSV output (Here I have mentioned 1,16 so I will be able to get data of only 1st column which is Project key and 16th column which is Permission Scheme not all the columns).
file: Path to file based content or result output.

...

If you want all the details, remove --columns 1,16 and execute, and the command will get all the details.

...