All JIRA Enhancer Plugin custom fields are calculated custom fields.
This means that they are not stored in database, they are calculated from issue's actions.
However, you can get KPIs automaticcaly via REST API.
For example by getting JSON form http://example.com/jira/rest/api/2/issue/issue-key returns a value of "customfield_10860":"2012-05-18 14:46:18.0"
And here is how to select it:
select i.pkey, a.updateauthor lastcommentedby, a.updated lastcommented from jiraaction a, jiraissue i where a.issueid = i.id and (a.issueid, a.updated) =(select issueid, max(updated) from jiraaction where actiontype ='comment' group by issueid);
Hello, Atlassian Community! My name is Dave Meyer and I'm a Principal Product Manager at Atlassian. I wanted to give this community a heads up about an upcoming Webinar that might be of interest...
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