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:

 

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

 

 

 

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,198 views 13 19
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot