Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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
Community showcase
Published in Apps & Integrations

Send an Email or Publish to Confluence - What should you do with your release notes?

Background When you hear the words ‘Release notes’, almost always you think of an unsolicited email from a software vendor. But I am here to tell you that from our data, sending release notes via E...

36 views 0 1
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you