Link Functions

Link Functions

 

This section contains functions that enable users to handle links. There are 2 kinds of links: structure links (like “blocks“, or “depends on“) and external links (Web Links also named Remote Links)

Functions Summary

  • createWebLink — Creates a web link on the issue.
  • deleteWebLink — Deletes a web link on the issue.
  • getIssueLinksDetail — Returns all the details about the links of an issue key.
  • getWebLink — Gets a web link structure.
  • getWebLinksForIssue — Gets all web link structures from an issue.
  • linkedIssues — Returns an array with the Issue keys linked with the specified one.
  • linkIssue — Links two issues by a specified link type name. First issue will have the outward description of the link type, the second issue will have the inward description of the link type.
  • unlinkIssue — Removes the specified link between two issues.
  • updateWebLink — Updates a web link on the issue.

 

Structures used:

JIssueLink - the structural links

integer id; string name; integer direction; string description; string issue;

 

JRemoteIssueLink - external (remote) links

integer id; string globalId; string appName; string appType; string relationship; string iconTitle; string iconUrl; string summary; string title; string url; boolean statusResolved; string statusIconTitle; string statusIconUrl; string statusIconLink;