Manage Sprints Permission

Aymen Maamri June 22, 2020

hello,

i am currently developing a Jira plugin,i want to create a permission scheme via REST,i can assign all the permissions except the Manage Sprints permission,can you please tell me how i can achieve that via REST calls.

thanks.

1 answer

0 votes
Petter Gonçalves
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 23, 2020

Hello @Aymen Maamri

Thank you for reaching out.

In order to set the Manage Sprints permission when creating your Permission scheme via REST API, you can follow the example displayed here, using the parameter MANAGE_SPRINTS_PERMISSION to update it as you need:

curl --request POST \
  --url '/rest/api/3/permissionscheme' \
  --user 'email@example.com:' \
  --header 'Accept: application/json' \
  --header 'Content-Type: application/json' \
  --data '{
  "permissions": [
    {
      "holder": {
        "parameter": "jira-core-users",
        "type": "group"
      },
      "permission": "MANAGE_SPRINTS_PERMISSION"
    }
  ],
  "name": "Example permission scheme",
  "description": "description"
}'

Additionally, I would like to kindly mention that we have the Atlassian Developer Community to properly address development questions:

https://community.developer.atlassian.com/ 

The mentioned portal was specifically created for development questions, where you will find articles and suggestions from third-party partners and Atlassian developers that will give you more instructions about plugin development.

Let us know if you have any questions.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events