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'
PUT

Reset the order of issue link types alphabetically.

Resets the order of issue link types alphabetically.

Request

Request bodyapplication/json

The sort direction for ordering the list alphabetically. Acceptable values are 'asc' or 'desc' (case-insensitive).

direction

string

Responses

Returns all issue link types in reset order.

application/json

IssueLinkTypesBean

PUT/api/2/issueLinkType/order
1 2 3 4 5 curl --request PUT \ --url 'http://{baseurl}/rest/api/2/issueLinkType/order' \ --user 'email@example.com:<api_token>' \ --header 'Accept: application/json' \ --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>'
PUT

Update the order of the issue link type.

Moves the issue link type to a new position within the list.

Request

Path parameters

issueLinkTypeId

string

Required

Request bodyapplication/json

The new position to move the issue link type

newPosition

integer

Responses

Returns the updated issue link type.

application/json

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

Rate this page: