My team is trying to build a custom app that needs to pull tickets which were resolved in the past one week. There is no direct filter to get tickets based on the “resolved_at” date & time range.
What we had planned to do what was to get tickets using “View List of Tickets” API and then include the “/api/v2/tickets?include=stats” endpoint to get the resolved_at values. Once we get the list of tickets, we would write a logic in the app’s code where the app itself checks the resolved date/time of every ticket and take the ones that fall in “past one week” period.
Though the above idea will work, it is definitely not scalable considering the huge volume of tickets that we will have to filter and make multiple API calls for. So could you please share a method via APIs that we can use to filter & get tickets that were in resolved in the past week (7days)?