Uploaded image for project: 'Jira Cloud'
  1. Jira Cloud
  2. JRACLOUD-74569

Update project REST API endpoint (PUT /rest/api/3/project/{projectIdOrKey}) does not work in free instances

    XMLWordPrintable

Details

    Description

      Issue Summary

      The Update project REST API endpoint (PUT /rest/api/3/project/{projectIdOrKey}) fails in FREE instances returning status 400 (bad request) and below error message:

      "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. For details see:

      Steps to Reproduce

      1. Send a REST API request to update a project description text against a standard (non-free) Cloud site and see that it works as expected: 
        curl -u <EMAIL-ADDRESS>:<API-TOKEN> -H 'Accept: application/json' -H 'Content-Type: application/json' --data '{"description": "TEST DESCRIPTION"}' -X PUT "https://STANDARD.atlassian.net/rest/api/3/project/TSP"
        
        {"expand":"description,lead,issueTypes,url,projectKeys,permissions,insight","self":"https://STANDARD.atlassian.net/rest/api/3/project/10000","id":"10000","key":"TSP","description":"TEST DESCRIPTION",......
        
      1. Now try to use the same REST API endpoint to update the description of a project on a FREE Cloud site

      Expected Results

      It works the same way it worked for the standard site and the project description is successfully updated

      Actual Results

      The request fails returning:

      {"errorMessages": ["Changing permission schemes is not allowed on the Jira Software or Core Free plans."], "errors": {}}
      

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dbonotto Dario B
              Votes:
              4 Vote for this issue
              Watchers:
              14 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: