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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

118 views 0 5
Read article

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