This article helps you to update the project permission scheme in bulk using the app, Jira Command Line Interface app.
- If you want to update permission scheme for a few projects to a particular scheme then provide the scheme name, and use updateProject with runFromCsv actions.
Prepare a CSV file (projects.csv ) with a column name as project, that contains the project keys. For example:
Execute the below CLI action to update the project permission scheme for all mentioned projects to Default Permission Scheme by mentioning the name of the permission scheme as shown.
--action runFromCsv --file projects.csv --common "--action updateProject --permissionScheme \"Default Permission Scheme\""
The parameters used in the above action are:
- Make sure to run the command in a non-production environment before testing in a production environment.