I’m not a developer and can’t directly answer your question.
My guess currently is that you’re turning into the wrong corner here.
The “escalated” state actually is no existing state, more of a virtual thing.
It get’s renamed in the UI - you can find the part of the UI here:
Technically, to find current escalated tickets, the application runs the following query:
Not sure what your goal is, but I currently think you’ll need the workaround via a ticket search.