How to add an attachment when sending an email by a manual triggered rule

Claudia Riverin October 11, 2024

Hello!

I would like to know if it's possible to attach a file when sending an email triggered by a manual automation?

 

Screenshot 2024-10-11 at 2.22.12 PM.png

3 answers

2 accepted

2 votes
Answer accepted
Manoj Gangwar
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 11, 2024

Hi @Claudia Riverin Welcome to the community! 

Unfortunately, Jira Cloud automation currently doesn't support attaching files directly to emails sent through automation.

If the attachment is already uploaded to the Jira issue, you can add a link to the attachment in the email body.

In the automation rule, you can use the smart value ${issue.attachments.first.url} to include the URL of the first attachment on the issue, or iterate through multiple attachments if needed.

Claudia Riverin October 22, 2024

Thank you Manoj!

0 votes
Answer accepted
Tobias H
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 11, 2024

Hi @Claudia Riverin!

You can do it with smart values {{attachment}}.

You can find all different values here: https://support.atlassian.com/cloud-automation/docs/jira-smart-values-issues/#--attachment--

Edit: But what Manoj said below is true, that you can't add the actual file.
My approach is only to add the URL link to the attachment.

Claudia Riverin October 22, 2024

Thank you Tobias!

Like Tobias H likes this
0 votes
Igor Medeiros - Modus Create
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 27, 2024

Hi @Claudia Riverin 

I'm not sure if you are open to using third-party apps to solve this problem, however, I'd like to point out that our app is capable of providing attachment files in the notification emails, not just their URLs.

Notification Assistant for Jira - Email allows you to extract the attachments directly to the email, as in the example below:

attachment.png

 

Feel free to reach out if this interests you.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events