Hi all, I’m using JQL to query events with a 5 min...
# questions
g
Hi all, I’m using JQL to query events with a 5 min window, but occasionally the API fails with HTTP 412
Precondition Failed
query script for 12:55 to 13:00 resulted in error, this should return 58000 events.
Copy code
function main() {
    return Events({
        "from_date": "2023-11-27",
        "to_date": "2023-11-27"
    }).filter(function (event) {
        return event.time >= 1701089700000 &&
                event.time <= 1701090000000
    })
};
setting the window to 3 min returns 34500 events (24MB) As I understand, the API limit is 5GB of processing data or 2GB return data, what I extracted is no where near that, so not sure why it’d fail. Does anyone has similar experience?