Button handy |
---|
blank | true |
---|
color | #0052CC |
---|
name | Send Feedback |
---|
link | https://docs.google.com/forms/d/e/1FAIpQLScmToBe3vynAlb5fdKwCGxYqnTbDc66sIBgeecG2BuFDuHc7g/viewform?entry.2002826954=linkIssue+-+434799241 |
---|
width | auto |
---|
|
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 |
---|
|
linkIssueissueKey1, issueKey2_or_url, issueLinkTypeName_or_linkTextinwardIssueKey, outwardIssueKey, issueLinkTypeName [, comment, securityLevel]) | Package | | Alias | | Pkg Usage | |
|
Description
Excerpt |
---|
|
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. |
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.
...
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", "some text here"Confluence, Documentation"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 = " |
---|
|
...
jira_links_routine" and space = currentSpace ( ) | labels | array_routines |
---|
|
We've encountered an issue exporting this macro. Please try exporting this page again later.