Is it not possible to order Tickets when using the filter/query option?

Hi,

I’m trying to sort the list of tickets I get when using a filter query but that doesn’t work. Isn’t the order by and order typ implemented on this endpoint?

/api/v2/search/tickets?query=“updated_at:>%272023-09-01%27”&order_by=updated_at&order_type=asc

If I remove order by and order type it works well.

Regards
Henrik

Hi Henrik Hargedahl,
Yes, apparently you can’t use order by in this endpoint. But I think you can replicate your case using the list all tickets.

An example is something like this:

/api/v2/tickets?updated_since=2023-09-01&order_by=updated_at&order_type=asc

I hope this helps!

1 Like

Your not only fast, your brilliant as well! You solved all my problems.

Thanks!

This topic was automatically closed 6 days after the last reply. New replies are no longer allowed.