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 Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Amir Kazemi
Posted 2 hours ago in Jira

We want to know what Jira Service Desk apps you're using!

Hi Community! My name is Amir and I’m on the Jira Service Desk product marketing team at Atlassian. Our team would love to understand how you’re leveraging our ecosystem for Jira Service Desk. Wha...

11 views 0 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