Database query using scriptrunner plugin

Can get the following using scriptrunner plugin?

  • teams would need a summarized report for daily closed tickets and daily assigned tickets. I know we can do that via filters but filters don't show the exact number of tickets per agent and this is what we need.
  • these reports should be automatically generate, if we can query from the database through script runner


If you could provide some reference on how to create a report using scriptrunner plugin, it would be a great help.

1 answer

Hi Lyka,

Whilst you can connect to a JIRA or external Database using ScriptRunner we don't recommend this approach.

Perhaps a better approach would be to create a Scripted Field that provides the data of number of tickets (per agent) and then use the Scripted Field in the report?

Jamie pointed out to me that using a Scripted Field is not ideal for aggregating data either since the issue navigator and report relies on JIRA indexes being up to date.

Regardless, your solution ought to involve choosing the most appropriate features of ScriptRunner (to automate), reporting and gadgets. There are a number of great add-ons in the Atlassian Marketplace to help with the reporting of the aggregated data (like EazyBI & Arsenale Dataplane for example that are verified by Atlassian).



Suggest an answer

Log in or Join to answer
Community showcase
Teodora [Botron]
Published Thursday in Marketplace Apps

Jira Inferno: The Nine Circles of Jira Administration Hell

If you spend enough time as a Jira admin - whether you are managing a single, mid-sized instance, a large enterprise one or juggling multiple instances at once - you will eventually find yourself in ...

709 views 5 16
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot