Schedule project or filter report charts to be sent via email

What I want to do: send an Average Age Report (including the chart image) to our company via email every day.

The problem: I haven't found a way to get this data or this chart image via the public JIRA api.

My solution:

1. Make a chrome extension that loads the report page.

2. The chrome extension gets the chart off the page, converts it to base64 and sends the info back to my server.

3. My server then takes that and emails it to all the people.

My solution is bad... but what's the real way to do this?

3 answers

1 accepted

1 vote
Accepted answer

i often use subscription to filters to nudge along various disciplines in the org but never used data from some of the widgets. interesting problem. frankly, i don't think you can out of the box. my best solution would be to look into this addon. it got some mention at the Atlassian Summit this year, and if they haven't already implemented such functionality, they would likely be interested in doing so if you approach them.

Yea, it didn't look like its possible to do out of the box... thanks for verifying :)

Solve this with the combination of the JIRA Automation Plugin and the PDF Automation Plugin for JIRA.

  1. Set up a CRON based trigger to execute an action (see next) every morning, according to your preferred schedule.
  2. Select the "Send PDF" action (provided by the PDF Automation Plugin) to generate a PDF document from a custom template (see next) and send that to the email addresses you select.
  3. Develop a simple PDF template that displays the Average Age chart. (It will require you to write some Groovy script, but it should be fairly easy.)

You can email us any time at info[at] with your questions!

Finally, your report could look like this:

To extend Ferenc's answer, JIRA PDF View Plugin 3.5.0 supports exporting dashboards and gadgets!

You can now freely export the Average Age gadget (see the rightmost box in the sample PDF) and email that automatically with the PDF Automation Plugin.



Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,722 views 17 21
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you