Scope level required to create project

Our plugin needs to create a project and we are getting an error

project creation: 403
{ errorMessages: [ ‘You must have global administrator rights in order to modify projects.’ ],
errors: {} }

At the same time the api documentation says we only need PROJECT_ADMIN, not ADMIN rights.

https://developer.atlassian.com/cloud/jira/platform/jira-rest-api-scopes/

Can somebody help pls?

2 Likes

Hi Piotr,

This is an error in the documentation. POST requests to the /project resource should and does require ADMIN scope. This is consistent with the JIRA UI, where creating new projects requires the JIRA Administrators global permission.

I’ve created an internal documentation bug to fix this.

Dave

1 Like