How do I add a group to all permission schemes for browse projects in Jira Server version 9.12.2?
Hi @fateme ghasemi and welcome to the Community!
Through the Jira UI, you'll need to modify each permission scheme manually and set the permission as desired.
As an alternative, you could use the Jira Server REST API to update the permission programatically as well.
Search for "grant permission to group via jira data center rest api" to find more specific instructions.
Hope this helps!
Hello @fateme ghasemi ,
Welcome to the Community!
You may do this via REST API/Scripting as via UI that isn't possible in bulk.
You can do a below steps:
1. Fetch all the permission scheme
GET /rest/api/2/permissionscheme
2. Update permission scheme
PUT /rest/api/2/permissionscheme/{schemeId}
Example:
{ "name": "Example permission scheme", "description": "description", "permissions": [ { "holder": { "type": "group", "parameter": "jira-developers" }, "permission": "ADMINISTER_PROJECTS" } ] }
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.