Versions Compared

Key

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

Table of Contents

...

Code Block
{
  "jql": "issuekey IN ({{issue.targetkeys}})",
  "sourceKey": "{{issue.key}}"
}
  • Send the attachment(s) of the last comment (without creating a comment) in the issue of the target instance, the key of which is written in the targetkey field of the source issue.

Code Block
{
  "jql": "\"targetkey\" ~ {{issue.key}}",
  "sourceKey": "{{issue.key}}",
  "commentId": "{{issue.comment.last.id}}",
  "createAsComment": false
}
  • Send all the attachments of the issue on a trigger to the issues ITSM-1 and ITSM-20 on the target instance:

...

Note

If several attachments are sent to several objects, depending on the number and size of the attachments, the automation log may return “Response 408 SocketException: Socket closed”. However, this might be a false error and the attachments will be sent to the objects.

...