I'm working on integrating Jira Service Management (JSM) with Fresh service, and I've successfully set up sending comments from JSM to Fresh service via email. Now, I want to also send any attachments that were added in the most recent comment, but only if there were attachments.
I came across a solution in the community, but the problem is that it retrieves all attachments from the entire issue, not just the ones added in the last comment.
Here is the list of attachments in {{triggerIssue.key}}
{{#triggerIssue.attachment}}
* {{filename}}: {{content}}
{{/}}
What if you update this statement to:
{{triggerIssue.attachment}}
* {{filename}}: {{content}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
These are the only smart value options for attachment.
I think you would need to get the attachment by ID, this requires using the API.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.