Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

Date comparison issue

When I run the query, "User" = abc and "Program Epic Due Date" <= now(), I get few issues. 1 of the result, APC-15 ,is incorrect as its Program Epic due date is 28/Feb/20.

When I run the following query, "User" = abc and "Program Epic Due Date" <= -1d, where I replace now with -1d, I do not get APC-15 which is the right record.

This does not happen with the usual JIRA Date fields. The Program Epic Due Date is a scripted field.


Can someone please help me with the reason for this, and how to fix it.


Thank you

2 answers

0 votes

Hello @Aisha M 

"Program Epic Due Date"  <= endOfDay()

BR, Olga

Hi @Olga Videc , Can you please help me with the reason for the above problem. Thank you

Olga Videc Community Leader Jan 27, 2020

Hello @Aisha M 

Okay found it, so simple you need to use duedate < now() 

now() does not support <=     it supports <=WAS* but not <= 

Also make shure your custom field is Date/Time template 

BR, Olga

0 votes

Your field may have the incorrect Search Template chosen. Go into custom fields (type gg or . and then type custom fields), type your field name, click the cog and choose edit, and set the Search Template to Date Time Range picker. May need to perform a reindex after doing this.


@Payne  Hi Payne. Thank you for the comment. The scripted field template is a DATE TIME RANGE picker.

Suggest an answer

Log in or Sign up to answer

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