For a issue in JIRA, I would want to trigger emails based on the following conditions
- An issue is flaged for alerts(this will be custom field in JIRA to identify if an issue)
- Based on last comment
If the last comment was provided more than n days ago, remind the user.
If the last comment was provided more than n days ago but today is the dueDate
Can we define these conditions in notification scheme in JIRA or would we need to build business logic in a custom code which will fetch the details using JIRA Rest API's.