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

Create a new issue link type

Create a new issue link type.

POST/api/2/issueLinkType
Authorization
AuthorizationBasic auth · headerrequired

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

Request body
requiredapplication/json

All information about the link relationship.

idstring
inwardstring
namestring
outwardstring
selfstring<uri>
Responses
201

The new issue link type has been created.

404

Returned if issue linking is disabled or you do not have permission to create issue link types.

Try it
Server
Authorization
Bodyapplication/json
Request
curl -X POST 'http://jira.example.com/rest/api/2/issueLinkType' \
  -H 'Authorization: Basic YOUR_CREDENTIALS' \
  -H 'Content-Type: application/json' \
  -d '{
  "id": "10000",
  "inward": "is duplicated by",
  "name": "Duplicate",
  "outward": "duplicates",
  "self": "http://www.example.com/jira/rest/api/2/issueLinkType/10000"
}'
Response
The new issue link type has been created.

Was this page helpful?