I want to change the status of issues from "Testing" to "Done" after 5 mins of that ticket being in the testing status.
This is the workflow that I have prepared in Jira Automation.

The JQL I have mentioned here is
status = "Testing" AND status changed TO "Testing" BEFORE -5m
Also when I validate this query and check the issues, get the correct issues filtered out.

I am getting the correct 2 issues filtered.
Now I want them to transition to the done status after 5mins of them being added to testing. It's not happening via automation.