I've created an automation rule in Jira, but I'm currently unsure how to handle the Sprint Name dynamically—especially when a sprint ends and a new one begins.
For example, let's say the current sprint is named: XYZ_FY25-26_Week 01-02
. Once this sprint is completed, I want the next sprint to automatically follow the same naming pattern and be updated to: XYZ_FY25-26_Week 03-04
.
My question is: how can Jira automation be configured to increment the "Week" range accordingly when creating or transitioning to the next sprint?
Hi @Amit Bisht
Using text functions, conditional logic, math expressions, and date / time functions, you could parse the just-completed sprint name, {{sprint.name}}, store the pieces using the Create Variable action, and then reassemble them to create the new sprint.
As each customer's sprint naming convention is different, I recommend using a test rule to develop the logic needed to handle the parsing, and then apply that to your rule.
For example, this rule could use the Scheduled trigger to be repeatedly run to help test the parsing:
And, if your sprint names are based upon the current date, {{now}}, that value could be extracted and formatted using the date / time format() function to produce the year, week, etc.
Kind 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.