Returns a list of available issue link types, if issue linking is enabled.
Forge and OAuth2 apps cannot access this REST resource.
This request has no parameters.
Returns a list of all available issue link types.
IssueLinkTypesBean
1
2
3
4
curl --request GET \
--url 'http://{baseurl}/rest/api/2/issueLinkType' \
--user 'email@example.com:<api_token>' \
--header 'Accept: application/json'
Create a new issue link type.
Forge and OAuth2 apps cannot access this REST resource.
All information about the link relationship.
string
string
string
string
string
The new issue link type has been created.
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'
Resets the order of issue link types alphabetically.
Forge and OAuth2 apps cannot access this REST resource.
The sort direction for ordering the list alphabetically. Acceptable values are 'asc' or 'desc' (case-insensitive).
string
Returns all issue link types in reset order.
IssueLinkTypesBean
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'
Returns for a given issue link type id all information about this issue link type.
Forge and OAuth2 apps cannot access this REST resource.
string
RequiredReturns the issue link type with the given id.
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'
Update the specified issue link type.
Forge and OAuth2 apps cannot access this REST resource.
string
RequiredAll information about the link relationship.
string
string
string
string
string
Returned if the issue link type was updated successfully.
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'
Delete the specified issue link type.
Forge and OAuth2 apps cannot access this REST resource.
string
RequiredReturns NO_CONTENT if successful.
1
2
3
curl --request DELETE \
--url 'http://{baseurl}/rest/api/2/issueLinkType/{issueLinkTypeId}' \
--user 'email@example.com:<api_token>'
Moves the issue link type to a new position within the list.
Forge and OAuth2 apps cannot access this REST resource.
string
RequiredThe new position to move the issue link type
integer
Returns the updated issue link type.
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: