Is there a way to have the issues function (in short, JQL) in JIRA perform basic computations? I realize it's not a reporting tool, it's used to find and select issues - but I want, say, an indicator for which issues are significantly over their estimates. If it can't be done in JQL, can I run a SQL query instead?
In SQL, I believe that is
select issuekey from {somewhere} where
(timespent + timeestimate) > (1.2*timeoriginalestimate) and
(timespent + timeestimate) > 2
(I'm not sure what aggregatetimespent contains. A total of time spent across iterations, perhaps?)
There are no analytical functions in JQL... it's not possible. You could write your own JQL function to help you find issues that are 20% past their due date, or you could write a custom field that shows the %age past due date and query on that, but in terms of doing ad hoc analytical stuff, JQL is not the answer.
You can do it in SQL... maybe someone will have an example for that. aggregatetimespent IIRC is time spent including subtask time.
Not in Cloud, bit for JIRA server SQL for JIRA exactly does what you are asking for...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Also not available in OnDemand: https://jamieechlin.atlassian.net/wiki/display/GRV/Scripted+JQL+Functions#ScriptedJQLFunctions-expression(Subquery,expression) but adding for completeness.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Try if
https://marketplace.atlassian.com/plugins/pt.lt.lfcribeiro.jira.jqlLTFunctions
Solves your problem, it has a executeQuery() JQL that lets you run SQL
Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Not availble in OnDemand.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.