Hello everyone.
I have created a custom datetime field with the name reminder. In this field it should be possible to select a date and time.
Now I would like to query the issues with jql on that specific custom field. I would like to get all issues where the field reminder has a value (timestamp) within the last 5 minutes.
For example when the query is executed on 31th July 2023 9:55am it should return the issues that have the datetime range between 31th July 2023 9:50am to 31th July 2023 9:55am (now).
I tried it with the following jql as expected from other posts
reminder >= -5m
But this seems to has no effect. It returns all the issues that has the reminder field filled in the future.
Can you please help me?
Thank you in advance.
Kind regards
Philipp
Hello @Philipp Schenke
Issue where the Reminder field has a value in the future match the criteria you provided - the value is greater than 5 minutes in the past.
If you want to exclude issue where the Reminder value is in the future then you need to add criteria to do that:
and reminder < now()
Hello Trudy,
thank you very much. I have just tested it and now the query works when I add the now() condition.
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.