I am trying to create an automation that sends the Assignee a notification email when a new attachment is added to their issue. This should trigger when an attachment is added to the issue directly, and when an attachment is added to a comment on the issue.
If it an attachment to the issue, the email should read: "For {{link to issue.id}}, {{John Doe}} added the attachment {{FileName.extension}}"
If it is a comment, the email should read: "For {{link to issue.id}}, {{John Doe}} commented with the attachment {{FileName.extension}}"
I've tried searching for this but all the results I got were of people wanting to send the actual attachment via email. I only want to send the name of the attachment and a link to the issue.