Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,362,540
Community Members
 
Community Events
168
Community Groups

I am updating permission scheme through rest api call but i getting 403 forbidden error

int schemeId=10021
def resultGroupb = put("/rest/api/2/permissionscheme/${schemeId}")

.header('Content-Type', 'application/json')
.body([

"permissions": [
[
"holder": [
"parameter": "Oracle Capacity",
"type": "group"
],
"permission": "ADMINISTER_PROJECTS"
]
],
"name": "Example permission scheme",
"description": "description"


]).asString()

1 answer

1 accepted

0 votes
Answer accepted
Nir Haimov Community Leader Nov 24, 2019

403 usually means you have no permission to do that change.

Do you have permission to change schemes through the UI?

I am running Rest API call in scriptlistener

I don't know how to do with UI

Nir Haimov Community Leader Nov 25, 2019

You can follow this guide, how to do it form the UI

https://confluence.atlassian.com/adminjiracloud/managing-project-permissions-776636362.html

General tip, know how the app work from the UI, than go for API

Like Sneha A S likes this

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events