Hi everyone,
I’m working on a Jira Service Management automation where:
Users fill out a form on a Jira ticket (custom form fields).
I want to generate a DOCX or PDF document containing the form data automatically when the ticket status changes.
Is there a way to generate and send a DOCX or PDF attachment with form data via Jira Standard automation without additional paid apps or plan upgrades?
Can I somehow fetch and include form data in an email body as a workaround?
Any recommended best practices or workarounds for sending form-based documents automatically on Jira Standard?
Thanks in advance for your help!
Welcome @Suraj Ghevade!
So... the good news:
There is an API to export form data as PDF format:
The bad news, Automation does not allow for email attachments.
Some things I'm just thinking about off the top of my head:
So, that requires AWS, and knowledge of how Lambda works. Also, I'm a little concerned that your PDF file is sitting on the Internet unprotected. That's not great.
The other thing I was thinking:
So... it's not an add-on. But it's a lot of work. And assumes you have AWS or Google Cloud or someplace where you can run this external script.
Could it run on an on-prem server somewhere? Sure, if Jira Cloud is allowed to reach it.
But yeah, those are just what I could think of off the top of my head.
Oh, I thought of better approach, again, if you have development resources at your disposal.
So guys wrote a Forge app to download attachments and display images, so you can definitely "do stuff" with attachments in Forge:
I confess that don't really understand Forge all that well, but I dug around a bit more and found that this guy was able to add an attachment with Forge.
Alas, this user didn't get very far trying to export forms using the API.
But the big takeaways are this:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Oh man, as I thought about this more, I was like, WAIT, how do you connect Automation to Forge?
Welp, looks like this too is an EAP: Automation with Forge
Ok cool, looks like you can add a webTrigger to Forge apps. So... there you go.
(Hahaha, I say this like I would have any idea how to actually implement this.)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Suraj Ghevade ,
Welcome to the Community !
Currently you cannot send an attachment via the automation - You may vote feature request here https://jira.atlassian.com/browse/AUTO-1586
For the forms data, @John Funk created a great article in past for the same - https://community.atlassian.com/forums/Jira-articles/Forms-Automation-Access-form-fields-with-smart-values/ba-p/2862665
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It should be noted that the article by John Funk concerns form in Jira Service Management. The Forms available in just "Jira" for Software and Business projects does not leverage the same forms engine. So the article may not apply if the author is using Jira versus JSM.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Piyush Annadate _ACE Pune_ Thank You So Much
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.