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

This widget could not be displayed.

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 :)

This widget could not be displayed.

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]midori-global.com with your questions!

Finally, your report could look like this:

This widget could not be displayed.

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.

Links:

jira-dashboard-pdf.png

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted 10 hours ago in Jira

Atlassian Research Workshop opportunity on Sep. 28th in Austin, TX

We're looking for participants for a workshop at Atlassian! We need Jira admins who have interesting custom workflows, issue views, or boards. Think you have a story to sha...

30 views 1 2
Join discussion

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