jira.js
    Preparing search index...

    Function createIssueLinkType

    • Creates an issue link type. Use this operation to create descriptions of the reasons why issues are linked. The issue link type consists of a name and descriptions for a link's inward and outward relationships.

      To use this operation, the site must have issue linking enabled.

      Permissions required: Administer Jira global permission.

      Parameters

      • client: Client
      • parameters: { id?: string; inward?: string; name?: string; outward?: string; self?: string }
        • Optionalid?: string

          The ID of the issue link type and is used as follows:

          • In the issueLink resource it is the type of issue link. Required on create when name isn't provided. Otherwise, read only.
          • In the issueLinkType resource it is read only.
        • Optionalinward?: string

          The description of the issue link type inward link and is used as follows:

          • In the issueLink resource it is read only.
          • In the issueLinkType resource it is required on create and optional on update. Otherwise, read only.
        • Optionalname?: string

          The name of the issue link type and is used as follows:

          • In the issueLink resource it is the type of issue link. Required on create when id isn't provided. Otherwise, read only.
          • In the issueLinkType resource it is required on create and optional on update. Otherwise, read only.
        • Optionaloutward?: string

          The description of the issue link type outward link and is used as follows:

          • In the issueLink resource it is read only.
          • In the issueLinkType resource it is required on create and optional on update. Otherwise, read only.
        • Optionalself?: string

          The URL of the issue link type. Read only.

      • Optionaloptions: RequestOptions

      Returns Promise<
          {
              id?: string;
              inward?: string;
              name?: string;
              outward?: string;
              self?: string;
              [key: string]: unknown;
          },
      >