Jira service desk automation + pdf

Renato Osorio November 29, 2021

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

2 votes
Avinash Bhagawati _Appfire_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 29, 2021

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

Renato Osorio November 29, 2021

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

Avinash Bhagawati _Appfire_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 29, 2021

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
AUG Leaders

Atlassian Community Events