YouTrack InCloud 2019.1 Help

Issue Link Types

This resource provides operations with issue link types.

Resource

/api/issueLinkTypes

Returned entity

IssueLinkType. For the description of the entity attributes, see Supported Fields section.

Supported methods

IssueLinkType attributes

This table describes attributes of the IssueLinkType entity.

  • To receive an attribute in the response from server, specify it explicitly in the request parameter fields.

  • To update an attribute, provide it in the body of a POST request.

Field

Type

Description

name

String

The name of the issue link type. Can be null.

localizedName

String

The localized name of the issue link type. It is present and can be updated only for predefined issue link types in localized YouTrack installations. Can be null.

sourceToTarget

String

The outward name of the issue link type. Can be null.

localizedSourceToTarget

String

The localized outward name of the issue link type. It is present and can be updated only for predefined issue link types in localized YouTrack installations. Can be null.

targetToSource

String

The inward name of the issue link type. Can be null.

localizedTargetToSource

String

The localized inward name of the issue link type. It is present and can be updated only for the predefined issue link types in localized YouTrack installations. Can be null.

directed

Boolean

If true, the link is directed. Otherwise, false.

aggregation

Boolean

If true, the link represents aggregation relation. Otherwise, false.

readOnly

Boolean

If true, link settings can not be updated. Otherwise, false. Read-only.

Read a List of IssueLinkTypes

Request syntax

GET /api/issueLinkTypes?{fields}&{$top}&{$skip}

Request parameters

Parameter

Type

Description

fields

string

A list of IssueLinkType attributes that should be returned in the response. If no field is specified, only the entityID is returned.

$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.

Add a New IssueLinkType

Request syntax

POST /api/issueLinkTypes?{fields}

Request parameters

Parameter

Type

Description

fields

string

A list of IssueLinkType attributes that should be returned in the response. If no field is specified, only the entityID is returned.

Last modified: 12 April 2019