It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Find issues that need to be worked on now based on duedate and origionalEstimate

Hans Menzi Feb 03, 2013

I would like to do something like the following in JQL that would show issues that I need to start in less than a week based on the estimate and due date I specified.

(duedate - origionalEstimate) < 1w

Am I just not thinking about this in the right way?

I know I can do "duedate < 4w" but I want to take into account the origionalEstimate.

5 answers

1 accepted

1 vote
Answer accepted
JamieA Feb 03, 2013

You can't do arithmetical expressions in JQL. Script runner jql functions include expression function, there's an example for almost exactly what you want to do in the docs.

Hans Menzi Feb 03, 2013

I saw that article in my search. I am unsure if it would do what I need, but I would need to install a beta version of the plugin (Version 2.1-BETA-3) and upgrade my JIRA instance to have it work...

JamieA Feb 03, 2013

The latest version is beta-8. The only beta aspect is the jql functions, but I think I am more or less done with beta testing anyway. But yeah, it requires 5.1.

0 votes
Natalie Hobson Feb 03, 2013

You could just use that filter, configure your columns to show original estimate and then sort by that value so that you see the most important issues at the top/bottom.

0 votes
Hans Menzi Feb 03, 2013

Except that issues would not correctly show up in the right order. If I were to sort by due date, and then by estimate and I have two issues one with a March due date that takes 1 week and the other with a April due date that takes 2 months, they are going to be our of order.

0 votes
Hans Menzi Feb 03, 2013

Ranking is too manual...

0 votes
Natalie Hobson Feb 03, 2013

Ah, I see what you are trying to accomplish now. Right now JIRA doesn't have functionality that allows you to compare two fields like that (maybe there's a plugin that extends the JQL for those fields?). Have you considered using a GreenHopper board and giving the issues rank to more easily keep track of what to do first?

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Jira

Try Jira Cloud for Outlook: Organize your work without leaving your inbox

Hi Atlassian community, My name is Max and I work on the product integration team at Atlassian. I am pleased to announce the early access program for the Jira Cloud add-in for Outlook. This add-in...

2,405 views 6 15
Read article

Community Events

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

Events near you