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 Sign up to answer
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

23,204 views 2 7
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