Button handy |
---|
blank | true |
---|
color | #0052CC |
---|
name | Send Feedback |
---|
link | https://docs.google.com/forms/d/e/1FAIpQLScmToBe3vynAlb5fdKwCGxYqnTbDc66sIBgeecG2BuFDuHc7g/viewform?entry.2002826954=getAttachmentMediaId+-+1554352025 |
---|
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 |
---|
|
Syntax | getAttachmentMediaId(key, attachmentId) | Package | | Alias | | Pkg Usage | | |
Description
Excerpt |
---|
|
Returns the mediaId |
Returns the media ID that can be used in ADF, for the specified issue and attachmentId
Parameters
Table plus |
---|
applyColStyleToCell | true |
---|
columnTypes | s,s,s,s |
---|
heading | 0 |
---|
multiple | false |
---|
enableSorting | false |
---|
|
Parameter name | Type | Required | Description |
---|
key | string | Yes | Issue key. | attachmentId | integer | Yes | The id of the attachment. | |
Return Type
string
Returns the media id for the provided parameters.
Example
Code Block |
---|
|
string mediaId = getAttachmentMediaId("TEST-23", 10230);
return mediaId; |
See also
Filter by label |
---|
showLabels | false |
---|
max | 25 |
---|
showSpace | false |
---|
cql | label = "attachment_routine" and space = currentSpace ( ) |
---|
labels | array_routines |
---|
|