best approach to use Script Runner to create a report

I have been tasked to automate creation of report, like show issues not linked, not closed etc.

The end result should be excel or word doc with several columns containg list of issues. I can generate these lists running my separate groovy scripts in Script Console. Then I copy/paste results to different columns. But I'm wondering if end users (Prod Managers) could just click a button and have report ready. What is the best approach to this? My only guess is to create a custom issue type with scripted fields. Please advise if anyone had similar task.

2 answers

This widget could not be displayed.

I was going to do "script reports" but didn't bother because the reports functionality in jira seems to be getting increasingly marginalised. Instead I wrote a general reports and gadgets plugin but abandoned it.

I don't have a good answer right now. Maybe workflow actions on a specific issue type that will generate the excel or whatever and add to the issue as an attachment? Seems a bit clunky.

Thank you Jamie, I'll take a look at your reports plugin. BTW, nice Order of the Red Star :)

Thanks ;-)

I wouldn't bother with the reports plugin, try the other idea...

This widget could not be displayed.

We are using two methods (basically postfunctions in WF adding attachment):

  • Groovy Script with MarkupBuilder for creating HTML reports
  • Postfunction from XPorter (with reasonable pricing) for DOCX reports, followed with script attaching generated file to issue

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Aug 22, 2018 in Marketplace Apps

How a Marketplace app tech team is achieving gender diversity

Hello! My name is Genevieve Blanch, and I'm the Marketing Manager at RefinedWiki, creators of apps to give teams the tools to customize Atlassian platforms. Currently, 44% of the tech team at Re...

485 views 3 18
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