Skip to end of banner
Go to start of banner

How to get the list of all projects and the related permission scheme in a CSV file

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

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.

Important Information

Ensure that the Jira Command Line Interface (CLI) app is installed in Jira and Atlassian Command Line is installed on the local machine.

Instructions

Use the getProjectList action to Get List defined projects with optional filtering by lead, category, and regex on the project key or name. Get projects with no category by setting the category parameter to blank. If the JQL parameter is provided, the issue count column will count the issues in the project that satisfy the JQL. By default, all the problems in the project are calculated. For Cloud and Data Center, further filtering is available with the options parameter including includeArchived.

An example, Let us try to get the project list

Execute the following action:

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

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

 --action getProjectList --outputFormat 999 --file "projectwithpermissionscheme.csv"

  • No labels