Hi!
I am trying to use Jira Automation rule and send a scheduled email with the worklogs made within the last week however this filter seems not working.
I will appreciate your help!
I am using this email content.
{{#issues}}
{{#worklog}}
{{#if(now.minusWeeks(1).isBefore(created))}}
Issue: {{key}}
Summary: {{summary}}
Assignee: {{assignee.displayName}}
Worklog Author: {{author.displayName}}
Time Spent: {{timeSpent}}
Worklog Created: {{created.format("yyyy-MM-dd HH:mm")}}
{{/}}
{{/}}
{{/}}
JQL that is used to lookup the issues:
project = PROJECT_NAME AND type IN (Epic, Bug, Story, Task, Sub-task) AND worklogDate >= startOfDay(-7d) ORDER BY created DESC