Skip to content
atlassian-dc-mcp
Esc
↑↓navigate↵open⌘Jpreview

Unassign project from priority scheme

Unassigns project from priority scheme. Operation will fail for defualt priority scheme, project is not found or project is not associated with provided priority scheme. All project keys associated with the priority scheme will only be returned if additional query parameter is provided expand=projectKeys.

DELETE/api/2/project/{projectKeyOrId}/priorityscheme/{schemeId}
Authorization
AuthorizationBasic auth · headerrequired

In order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.

Path parameters
schemeIdinteger<int64>required

Object that contains an id of the scheme

projectKeyOrIdstringrequired

Key or id of the project

Responses
200

Affected priority scheme.

defaultOptionIdstring
defaultSchemeboolean
descriptionstring
idinteger<int64>
namestring
optionIdsstring[]
projectKeysstring[]
selfstring<uri>
400

Returned if the request is not valid and the priority scheme could not be updated. Eg. provided scheme is default priority scheme or project is not associated with scheme.

403

Returned if the user does not have rights to assign priority schemes.

404

Returned if project or priority scheme is not found.

Try it
Server
Authorization
Parameters
Request
curl -X DELETE 'http://jira.example.com/rest/api/2/project/string/priorityscheme/0' \
  -H 'Authorization: Basic YOUR_CREDENTIALS' \
  -H 'Accept: application/json'
Response
{
  "defaultOptionId": "string",
  "defaultScheme": true,
  "description": "string",
  "id": 0,
  "name": "string",
  "optionIds": [
    "string"
  ],
  "projectKeys": [
    "string"
  ],
  "self": "http://example.com"
}

Was this page helpful?