Hi all,
Good evening to all. I am new with jira. Appreciate our community guidance as I need to make an automation to create a Epic for each future Sprint for X number of weeks ahead (eg. 4 weeks ahead).
The Epic naming convention is "Sprint Week X" where X is the week number of the current year (eg currently today is 27 March so we are in Sprint Week 13.
Each sprint Epic is a duration of 2 weeks
eg.
- for year 2024, Starting 1 Jan 2024 (coincidently is a Monday) and end 14 Jan 2024 which is a Sunday as the 1st Epic which we named Sprint Week 1
- 15 Jan 2024 (Monday) till 28 Jan 2024(Sunday) as our 2nd Sprint in year 2024 which we named Sprint Week 3
- whereby currently it is 27 March, so we are in Sprint Week 13 which started from 25 March (Monday) 2024 till 7 April 2024(Sunday)
So this automation i plan to run under the automation trigger "When:Scheduled" for every two weeks on a Monday and will create a new Sprint Epic 4 weeks ahead (eg. on 8 April morning, the automation will execute and create a new Sprint Week tittle of 4 weeks ahead with tittle "Sprint Week 19" which starts from 6 May till 19 May 2024).
This is what i had configured but not able to get the naming convention right (as i could get the current week of the year but not get the future week number). @Guy Anela i think the rule was not running even when i did the "run rule" force manually is either due to the JQL search (which i had removed asper screen short mock test VS the original i did as per screenshot schedule). But i did also specify the project as per your advice (did not use the original "same project").
Also to set the Epic start and End date, is there a more suitable/efficient Jira Smart Value feature than "{{now.plusDays(x)}}" as the 2 weeks i may not always "start on a Monday/end on following Sunday" during end of the month as the different number of days in a month.
Appreciate advice.
Thanks @Guy Anela @Jack Brickey on the other thread. just knew how to create new thread for this specific query. Thanks





