Versions Compared

Key

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

...

Attaching all files from last comment

One of the most typical requirements is to send files attached with the latest comment in Jira or ServiceDesk to customer email. In Jira/SD comment files can be added as regular attachments or inline. Moreover, when adding file inline, it could contain both - an optional thumbnail in the comment text and the full version which will open when clicking on the thumbnail.

Raley will do all the heavy duty for you and add both regular and inline attachments to your email. Here's the example on how to send all the files from last comment. 

Code Block
linenumberstrue
#foreach ($att in $issue.lastcomment.attachments)
   $jirassimo.includeAttachment($att.id) 
#end

...