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

Custom JIRA reports via SQL

Forrest Aldrich Dec 15, 2016

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

0 votes
Michael Clinton Dec 15, 2016

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.

 

0 votes
Forrest Aldrich Dec 15, 2016

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
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Next-gen

Introducing subtasks for breaking down work in next-gen projects

Teams break work down in order to help simplify complex tasks. This is often done iteratively, with tasks being broken down into smaller tasks and so on until the work is accurately captured in well-...

9,346 views 30 42
Read article

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