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.
...
If you want all the details, remove --columns 1,16 and execute, and the command will get all the details.
...