Skip to end of banner
Go to start of banner

linkIssue

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

Description

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.

Parameters

Return Type

None

The returned value has no meaning.

Examples

Example 1

linkIssue(key, "TEST-5", "Duplicate");

Result: current issue is linked to issue "TEST-5" by Duplicates link type, such that "TEST-5" duplicates the current issue and the current issue is duplicated by "TEST-5".

Example 2

linkIssue(key, "TEST-5", "Duplicate", "some text here")

The same as example 1 however a public comment will be added.

Example 3

linkIssue(key, "TEST-5", "Duplicate", "some text here", "Developers")

The same as example 1 however a comment will be added and only visable to users with the project role "Developers".

See also

Filter by label

There are no items with the selected labels at this time.

  • No labels