Generating Report for getting historical data (using JQL in advance search)

How can I generate the report to fetch historical data using JQL including custom fields? Actually I need to generate the report to be submitted to my all stakeholders for showing Aging for particular status and value of custom field. For example, if I take the example for my one of JIRA projects "CRM". For this project I need to fetch the history of "BRD Status" (this is custom field) i.e. what status is changed at what time so I can calculate aging of particular BRD Status to measure the service level for related stakeholder associated to that particular status. Same in case if I need history of any other status of defined workflow with time stamp. OR Does hosted Jira (OnDemand) provide read-only access to the Jira DB so that I can run SQL statements for reporting purposes to generate the desired report? If yes then please explain the steps. It is bit urgent for me. Your quick help will be appreciated.

1 answer

The new  SQL for JIRA plugin is available on the Marketplace for JIRA Server which supports it:


     i.key, c.created, c.fromvalue, c.toValue
     issues i
left join
     issuechanges c on c.issueid =
     i.jql = 'project = CRM'
     and field = 'BRD Status'




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
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

161 views 1 17
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