@esm-js/jira.js
Version:
A comprehensive JavaScript/TypeScript library designed for both Node.JS and browsers, facilitating seamless interaction with the Atlassian Jira API.
44 lines (43 loc) • 1.95 kB
text/typescript
/**
* This object is used as follows:*
*
* - In the [issueLink](#api-rest-api-2-issueLink-post) resource it defines and reports on the type of link between the
* issues. Find a list of issue link types with [Get issue link types](#api-rest-api-2-issueLinkType-get).
* - In the [issueLinkType](#api-rest-api-2-issueLinkType-post) resource it defines and reports on issue link types.
*/
export interface IssueLinkType {
/**
* The ID of the issue link type and is used as follows:
*
* In the [issueLink](#api-rest-api-2-issueLink-post) resource it is the type of issue link. Required on create when
* `name` isn't provided. Otherwise, read only. In the [ issueLinkType](#api-rest-api-2-issueLinkType-post) resource
* it is read only.
*/
id?: string;
/**
* The description of the issue link type inward link and is used as follows:
*
* In the [issueLink](#api-rest-api-2-issueLink-post) resource it is read only. In the [
* issueLinkType](#api-rest-api-2-issueLinkType-post) resource it is required on create and optional on update.
* Otherwise, read only.
*/
inward?: string;
/**
* The name of the issue link type and is used as follows:
*
* In the [issueLink](#api-rest-api-2-issueLink-post) resource it is the type of issue link. Required on create when
* `id` isn't provided. Otherwise, read only. In the [ issueLinkType](#api-rest-api-2-issueLinkType-post) resource it
* is required on create and optional on update. Otherwise, read only.
*/
name?: string;
/**
* The description of the issue link type outward link and is used as follows:
*
* In the [issueLink](#api-rest-api-2-issueLink-post) resource it is read only. In the [
* issueLinkType](#api-rest-api-2-issueLinkType-post) resource it is required on create and optional on update.
* Otherwise, read only.
*/
outward?: string;
/** The URL of the issue link type. Read only. */
self?: string;
}