GET

Get list of available issue link types

Returns a list of available issue link types, if issue linking is enabled.

Request

This request has no parameters.

Responses

Returns a list of all available issue link types.

application/json

IssueLinkTypesBean

GET/api/2/issueLinkType
1 2 3 4 curl --request GET \ --url 'http://{baseurl}/rest/api/2/issueLinkType' \ --user 'email@example.com:<api_token>' \ --header 'Accept: application/json'
POST

Create a new issue link type

Create a new issue link type.

Request

Request bodyapplication/json

All information about the link relationship.

id

string

inward

string

name

string

outward

string

self

string

Responses

The new issue link type has been created.

POST/api/2/issueLinkType
1 2 3 4 curl --request POST \ --url 'http://{baseurl}/rest/api/2/issueLinkType' \ --user 'email@example.com:<api_token>' \ --header 'Content-Type: application/json'
GET

Get information about an issue link type

Returns for a given issue link type id all information about this issue link type.

Request

Path parameters

issueLinkTypeId

string

Required

Responses

Returns the issue link type with the given id.

application/json

IssueLinkTypeJsonBean
GET/api/2/issueLinkType/{issueLinkTypeId}
1 2 3 4 curl --request GET \ --url 'http://{baseurl}/rest/api/2/issueLinkType/{issueLinkTypeId}' \ --user 'email@example.com:<api_token>' \ --header 'Accept: application/json'
PUT

Update the specified issue link type

Update the specified issue link type.

Request

Path parameters

issueLinkTypeId

string

Required

Request bodyapplication/json

All information about the link relationship.

id

string

inward

string

name

string

outward

string

self

string

Responses

Returned if the issue link type was updated successfully.

PUT/api/2/issueLinkType/{issueLinkTypeId}
1 2 3 4 curl --request PUT \ --url 'http://{baseurl}/rest/api/2/issueLinkType/{issueLinkTypeId}' \ --user 'email@example.com:<api_token>' \ --header 'Content-Type: application/json'
DEL

Delete the specified issue link type

Delete the specified issue link type.

Request

Path parameters

issueLinkTypeId

string

Required

Responses

Returns NO_CONTENT if successful.

DEL/api/2/issueLinkType/{issueLinkTypeId}
1 2 3 curl --request DELETE \ --url 'http://{baseurl}/rest/api/2/issueLinkType/{issueLinkTypeId}' \ --user 'email@example.com:<api_token>'

Rate this page: