Schedule work items creation with Jira Cloud automation
Platform Notice: Cloud Only - This article only applies to Atlassian products on the cloud platform.
Summary
Learn how to schedule recurring work items in Jira to occur on business days of each month.
Solution
Configure the automation with smart values
For this use case, it's not possible to use the basic or advanced scheduling (CRON expressions) in the Scheduled Trigger in automation.
You can configure the rule as follows to achieve this:
Trigger: Scheduled Trigger - Runs daily at a specified time.
If Condition: Smart Values Condition.
First value:
{{now.jiraDate}}
Condition: equals
Second value:
{{now.firstBusinessDayOfMonth.plusBusinessDays(1).jiraDate}}
Action: Create Work Item: specify the details like project, work type etc.
In the above example, it will create the work item only if the date matches the 2nd business day of the month.
This will not consider any non-working holidays (for example, if Tuesday is the 2nd business day of the month but is a public holiday, the task will still be created). We have a feature request to address this:
Was this helpful?