Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Warning

Looking for the documentation on the newest versions of SIL Engine and the Simple Issue Language for Jira 8 for Server/Data Center? Click here !


Info
titleAvailability

This routine is available since katl-commons starting with SIL Engine™ 4.0.3.

...

This routine is available for Jira server and cloud deployment options.

Syntax

copyAttachmentById(attachmentId, issueKey)

Description

...

Excerpt

Copy Copies the attachment for the provided id from one issue to another.


Parameters

...

Parameter name

Type

Required

Description

attachmentIdnumberYes
The attachment
Attachment id.

issueKey

string

Yes

The issue

Issue key where you want to copy the attachment.

Return type

...

boolean (true/false)

Returns "true" if the attachment was copied successfully , and "false" otherwise. If returned "false" check the log for a detailed reason on why it failed.

Example

...


Code Block
copyAttachmentById(10205, "TEST-2");



See also

...

Filter by label (Content by label)
showLabelsfalse
showSpacefalse
cqllabel = in ( "jira_attachment_routine" , "ps_cloud" )
labelsjira_attachment_routine