updated_at Not returning Correct Results

  • 6 December 2021
  • 1 reply

Badge +4

Hi -

I’m doing a query to find all tickets that have NOT been updated for several days.

Per the V2 API documentation, I’m using the following query (replacing domain with ours, and encoding the URI - but I’m showing the unencoded version here for clarity):

https://<domain>"(status:2 OR status:3 OR status:6 OR status:7 OR status:9 OR status:17 OR status:18 OR status:20 OR status:22 OR status:23) AND (updated_at:<'2021-12-01')"

The encoded version is:


However, in the results I’m getting tickets that have been updated on 12/2, 12/3 and 12/4 so it does not seem to be honoring the updated_at and less than/before operator.



1 reply

Userlevel 4
Badge +12

Hello @labatt, I hope you are doing well. Ideally, this should not be the case as the query is in the right format. For the descrepency you are facing with the API results, can you try only with the updated_at filter and see if the results are right? Also, can you kindly DM us your account details so that we can have the logs checked and help you further here?