I have automation that sets the due date for an issue based on its issue type at the time it moves to "In Progress" ( {{now.plusBusinessDays(5)}}). I then have an automation that compares the resolution date to the due date and puts a "past due" label on the issue when it transitions to done if the due date is less than the resolution date.
The problem is based on time stamps some issues are being labeled as "past due" because they were moved to "In Progress" in the morning but resolved in the afternoon of the due date.
This of course creates manual intervention defeating the intended purpose of these automations.