We have an automation rule running in agile JIRA. The intention of this rule is to send mail notifications to Assignee every Wednesday for the issues that has crossed due date.
It is suppose to send mails to the issues that is returned through JQL. But instead it sends mail to not related items as well.
And also, For the last trigger on 30th of November 2022 Wednesday, mails are sent to wrong items and interestingly audit logs are not found.
Rule name: Wednesday - Mail sent to Assignee every Wed if issue has crossed due date
Project Key: APPSECVM
JQL: (project in (50453)) AND (project = "Application Security-Vulnerability Management" AND type = Bug AND duedate < now() AND status not in (Closed, Fixed, Resolved, Done, Archived, Canceled, Cancelled, Deferred) AND assignee is not EMPTY)
Screenshot 1 : Audit logs missing for 30th
Screenshot 2 : Sent mail label shows the right issues picked as part of the JQL, but mails are sent not only to this, but sent to other issues that are not passing the JQL condition.

