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

Add project associations to scheme

Adds additional projects to those already associated with the specified issue type scheme

POST/api/2/issuetypescheme/{schemeId}/associations
Authorization
AuthorizationBasic auth · headerrequired

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

Path parameters
schemeIdstringrequired

The id of the issue type scheme whose project associations we're adding to.

Request body
requiredapplication/json

Collection of projects, specified by id or key, to associate with this issue type scheme

idsOrKeysstring[]
Responses
200

Confirmation that the association was successful.

400

Returned if the request is invalid. This occurs when the supplied project ids/keys are invalid. It also happens if performing the association would require an issue type migration for any of the projects.

401

Returned if the calling user is not authenticated.

403

Returned if the calling user does not have permission to administer Jira.

404

Returned if the issue type scheme to update does not exist.

Try it
Server
Authorization
Parameters
Bodyapplication/json
Request
curl -X POST 'http://jira.example.com/rest/api/2/issuetypescheme/string/associations' \
  -H 'Authorization: Basic YOUR_CREDENTIALS' \
  -H 'Content-Type: application/json' \
  -d '{
  "idsOrKeys": [
    "100034",
    "13543",
    "FOOPROJ",
    "BAZZPROJ"
  ]
}'
Response
Confirmation that the association was successful.

Was this page helpful?