Update project rest API is not working

Rohit_Shrivastava
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 25, 2020

The link to the url - https://developer.atlassian.com/cloud/jira/platform/rest/v3/#api-rest-api-3-project-search-get

The update project rest api doesn't seem to be working. First, the documentation says "all parameters are optional in the body of the request" but the api doesn't work without 'permissionscheme' parameter. Also, when run, this api returns a 403 error but in the UI the changes made are reflected.

1 answer

0 votes
Dario B
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 5, 2020

Hello @Rohit_Shrivastava ,

Welcome to the Atlassian Community!

If I understand correctly, you are reporting 2 different issues:

  1. the documentation for the Update project endpoint (PUT /rest/api/3/project/{projectIdOrKey}) says all the parameters are optional but this does not work without providing the 'permissionscheme' parameter
  2. Even if you get status 403 FORBIDDEN in return to your REST API call, you can see that the request was actually correctly executed.

 

Can you kindly confirm my understanding is correct or provide more details about the issue you are reporting?

Can you also confirm that:

  • This is for Jira Cloud (free instance)
  • You are authenticating the REST API calls with email address and API Token and not with username and password
  • You are providing at least one parameter when calling the Update project endpoint

 

 

Cheers,
Dario

Rohit Shrivastava
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 5, 2020

Hi Dario,

Your articulation of the issues is very accurate. Both the points mentioned by you are exactly the same issues which I'm facing. It shows 403 error in postman but when I check in UI, the update is successful (which I sent in as a body parameter in api call)

Please find my answers inline-

  • This is for Jira Cloud (free instance)
    Rohit: Yes
  • You are authenticating the REST API calls with email address and API Token and not with username and password
    Rohit: Yes
  • You are providing at least one parameter when calling the Update project endpoint
    Rohit: Yes
Like Rajesh Reddy likes this
Dario B
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 9, 2020

Hello @Rohit Shrivastava ,

I am able to reproduce the issue and I can see that the Update project REST API endpoint (PUT /rest/api/3/project/{projectIdOrKey}:

  • Works as documented for standard (non-free) sites
  • Fails returning below error on Cloud Free sites:
    "Changing permission schemes is not allowed on the Jira Software or Core Free plans."

 

This is because  Project permissionsroles, and issue-level security aren't configurable when you're on the Free plan. Therefore, I have opened below bug ticket in our system in order to have this issue addressed:

 

Please vote for the above bug ticket and set yourself as a watcher so that you will be notified in case of any update/progress. The bug will be addressed according to the Atlassian Cloud bug fixing policy.

 

Cheers,
Dario

Suggest an answer

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

Atlassian Community Events