I want my issues to expire in 24 hours since the status has changed to Approved. I have set the rule as below, but it looks like it doesn't work. Any issues with the JQL i've setup?
issuetype in ("AAAAA") AND status = "Approved" AND status CHANGED TO "Approval Expired" BEFORE startofDay(-1)