Table plus |
---|
applyColStyleToCell | true |
---|
heading | 0 |
---|
columnTypes | s,s,s,s |
---|
multiple | false |
---|
columnAttributes | style="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold, |
---|
enableSorting | false |
---|
|
Syntax | linkIssuelinkissue(issueKey1, issueKey2_or_url, issueLinkTypeName_or_linkTextinwardIssueKey, outwardIssueKey, issueLinkTypeName [, comment, securityLevel]) | Package | | Alias | | Pkg Usage | | |
Description
...
Table plus |
---|
applyColStyleToCell | true |
---|
columnTypes | s,s,s,s |
---|
heading | 0 |
---|
multiple | false |
---|
enableSorting | false |
---|
|
Parameter name | Type | Required | Description |
---|
issueKey1 | String | Yes | Key of the first issue to be linked. | issueKey2_or_url | String | Yes | Key of the second issue to be linked or the URL. | issueLinkTypeName_or_linkText | String | Yes | Issue link type name or the link text. | comment | String | No | Comment that will be posted on the selected issue. | securityLevel | String | No | Security level of comment. | |
Return Type
None
The returned value has no meaning.
Examples
Example 1
Code Block |
---|
|
linkIssue(key, "TSTTEST-1235", "RelatesDuplicate");
//key represents the key of current issue, "TST-123" the key of the issue it will be linked to. |
Result: current issue is linked to issue "TSTTEST-1235" by Relates Duplicates link type, such that "TSTTEST-1235" relates to duplicates the current issue and vice versathe current issue is duplicated by "TEST-5".
Example 2
Code Block |
---|
|
linkIssue(key, "TSTTEST-1235", "TST-234Duplicate", "Blockssome text here"); |
...
The same as example 1 however a public comment will be added.
Example 3
Code Block |
---|
|
linkIssue(key, "TSTTEST-1235", "https://confluence.example.comDuplicate", "Confluence Documentationsome 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 (Content by label) |
---|
showLabels | false |
---|
max | 25 |
---|
showSpace | false |
---|
cql | label = "linkjira_links_routine" and space = currentSpace ( ) |
---|
labels | array_routines |
---|
|