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

Sneha A S November 22, 2019

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
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 24, 2019

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

Do you have permission to change schemes through the UI?

Sneha A S November 24, 2019

I am running Rest API call in scriptlistener

Sneha A S November 24, 2019

I don't know how to do with UI

Nir Haimov
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 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
AUG Leaders

Atlassian Community Events