We are integrating a problem reporting tool (PR Tool) with Jira. Issues are created in Jira for every Problem ticket created in the external system and vice versa.
I have a listener which listens to Status changes and triggers emails when conditions in a CSV file are met. I have implemented the code till this point.
When an issue is created in Problem Reporting tool, it takes a minimum of 3 minutes to get that issues synced completely in Jira.
For the initial Status changes (for ex, from "Create" to "In Progress") I see that my listener don't trigger emails since some fields are not synced and condition in CSV is not met.
Is it possible to delay triggering the listener for few minutes or anything else that could be done to fix this issue?