Hello I'm using automation for jira (server) plugin to send reminders as and when tickets reach 20 business days past a date field. For that I'm using following condition
{{issue.fields.customfield_1234.diff(now).businessDays}}
From the documentation I read that only weekends can be excluded from business days. But I'm looking if there is a way to exclude public holidays (selected dates 1/1/21 ; 2/15/21, etc).
Hi @Sarath
That feature idea appears to be in the backlog: https://codebarrel.atlassian.net/browse/AUT-1623
Until that gets implemented, you may need to compute the business days diff by hand by checking for the holidays being in the date range. If you are using Jira Cloud, the Create Variable action could help provide some working storage.
As another alternative, you could use a scheduled rule which updates in-progress issues once per day, accumulating holidays which have passed since starting work. Then subtract that number from your business days calculation before checking for the 20 day threshold.
Best regards,
Bill
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.