Hi there!
I was interested in getting some thoughts from folks on the best way to approach this use case.
In our Jira workflow, we log a hidden date/time field (customfield_10260) any time someone moves a ticket into our QA status.
We then use an automation rule to alert our QA team via Slack when tickets are still in QA status and that the hidden date/time field (customfield_10260) log is now greater than/equal to 48 hours ago.
That all works fine and dandy.
- Trigger = daily schedule at 8am PST Monday through Friday
- Lookup Issues = customfield_10260 <= -48h
- Condition = {{lookupIssues}} does not equal empty
- Action = Send slack message with list of issues
I want to add one nuance to this automation though: an iteration over the {{lookupIssues}} results to only include issues where the 48 hour check is limited to only factor in business days. What's the best way to go about folding in this type of limitation?
{{issue.customfield_10260.diff(now).businessDays}}