Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Jira service desk automation + pdf

Hello, 

 

I'm trying to do some awesome automations with my Finance team for Invoices. 

So let me start with a bit of workflow

User raises an invoice ticket on the Finance Service Desk, then attaches a PDF of the invoice. It foes through the standard Finance workflow, then gets approved. Now comes the fun part, after it gets approved, Jira sends an automatic email to our system that reviews the PDF/photo and then makes it all good for Finance to process it, however the automation I've created is not actually attaching the PDF to this email it's just sending the actual commands in the automation (they are below)is there a way that I can get automations to push the actual document via email?

 

Automation command used:

Any Attachments:- <ul>
{{#issue.attachment}}
<li><a href="{{content}}">{{filename}}</a></li>
{{/issue.attachment}}
</ul>

 

Thanks, 
Renato

1 answer

Hi @Renato Osorio ,

Can you please try with below code.

{{#issue.attachment}}

{{content}}

{{/issue.attachment}}

With this, you will be able to see the attachment link like below.

 090.png

Thanks,
Avinash

Hi Avish, 

 

I tried this, but when it goes onto our platform called Dext it then puts the comment as the link and as a PDF

Any ideas?

Screenshot 2021-11-29 at 10.33.52 am.png

Hi @Renato Osorio ,

Seems like it is not possible to copy the attachment for rule. I see couple of tickets in Atlassian for improvement.

https://codebarrel.atlassian.net/browse/AUT-1030

https://jira.atlassian.com/browse/JRACLOUD-75991

Thanks,
Avinash

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Service Management

JSM Jira Automation: How to Send SLA Breached Notifications

Hi Everyone, In   this tutorial,  we will show you how you can monitor an SLA, and send notifications before or after the SLA has been breached.   SLA Threshold Trigger The SLA t...

752 views 5 13
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you