Versions Compared

Key

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

...

Info
titleAvailability

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

Syntax

...

copyAttachmentById(attachmentId, issueKey)

Description

...

Excerpt

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


Parameters

...

Parameter name

Type

Required

Description

attachmentIdnumberYesThe attachment id

issueKey

string

Yes

The issue key where you want to copy the attachment

Return type

...

boolean (true/false)

Returns true if the attachment was copied successfully, 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 = "jira_attachment_routine"
labelsjira_attachment_routine