It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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
Community showcase
Posted in Jira Core

How to manage many similar workflows?

I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...

851 views 7 0
Join discussion

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you