Issue Links
This resource lets you read links of the issue.
Resource | /api/issues/{issueID}/links |
Returned entity | IssueLink. For the description of the entity attributes, see Supported Fields section. |
Supported methods | |
Supported sub-resources |
|
IssueLink attributes
Represents issue links of a particular link type (for example, 'relates to').
Related Resources
Below you can find the list of resources that let you work with this entity.
Attributes
This table describes attributes of the IssueLink
entity.
To receive an attribute in the response from the server, specify it explicitly in the
fields
request parameter.To update an attribute, provide it in the body of a POST request.
Field | Type | Description |
---|---|---|
id | String | The ID of the issue link. |
direction | Enumeration | Link direction. Supported values are OUTWARD, INWARD, and BOTH. |
linkType | IssueLinkType | Link type. |
issues | Array of Issues | List of issues that are linked with this type. |
trimmedIssues | Array of Issues | The trimmed list of issues. This property can be used to avoid performance problems for issues that have many links. Use $topLinks and $skipLinks parameters to request a particular part of the whole list. |
Read a List of IssueLinks
Get the list of links for the issue. In response to this request, you receive a collection of JSON objects for each possible issue link type. If the current issue is linked to another one or more issues with a specific link, then the issues
attribute in the respective object will contain a collection of these issues.
Request syntax
Request parameters
Parameter | Type | Description |
---|---|---|
fields | String | A list of IssueLink attributes that should be returned in the response. If no field is specified, only the |
$skip | Int | Optional. Lets you set a number of returned entities to skip before returning the first one. |
$top | Int | Optional. Lets you specify the maximum number of entries that are returned in the response. If you don't set the $top value, the server limits the maximum number of returned entries. The server returns a maximum of 42 entries for most resources that return collections. For more information, see Pagination. |