Custom JIRA reports via SQL

I want to create a report based on a timeframe from the JIRA (ServiceDesk) database that can provide:

  • timestamp ticket opened
  • timestamp opened and by whom
  • timestamp changed and by whom
  • timestamp ticket closed
  • Subject/topic of the task

and possibly other basic details.    I don't see this capability in any plugins I've looked at, and I don't believe we should actually need a plugin for this, as it's all in a MySQL database.   A simple tabular SQL report would suffice.

Anyone doing something like this?   What would the relevant fields be I would be concerned with.

 

Thanks.

2 answers

This widget could not be displayed.

Couldn't this all be handled by searches inside the Service Desk system?

I just did an issue search and filtered by my Service Desk project name. Then I included the following columns:

  • Summary
  • Created
  • Creator
  • Resolution (resolution status/name)
  • Resolved (date)
  • Updated (last updated)

Then you could filter down by date range.

 

This widget could not be displayed.

I would need to craft something in the search language, something similar to :

 

updated >= -2w order by updated DESC

 

While this is handy, I want to have this in a tabular format that I can print out reasonably or include in a document.   I know these can be exported to PDF.    Are the schema fields documented somewhere.

I had thought a simple MySQL query would do the job.

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

143 views 2 0
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