I am trying to create an automaton. The automation is that JIRA should be able to send a email notification to some of the project team members just two days before the end date of the sprint, saying these are the issues currently are NOT in DONE status. As part of this automation, where I need to provide JQL, and i am providing below JQL,
sprint in openSprints() AND "End Date"<= startOfDay(2d)
But while validating query, its giving me below error,

I tried to fix this error by providing end date field is following ways,
1) "End Date"
2) EndDate
3) endDate
None of this helped. Now i started getting the doubt that, my JQL itself is correct or not.
Can somebody help me on this please?