Using smart values to generate/append release names

ray_geroski March 5, 2025

Our teams do weekly releases, so I have created an automation script to create a new release every Monday morning.

I'm attempting to use smart values to generate the names of the releases based on the date and week, but the smart values fail to generate anything in the version name field.

Project-{{now.date.year}}-{{now.weekOfYear}}, for example, results in a release called "Project--10" instead of Project-2025-10. 

What am I doing wrong here?

1 answer

1 vote
ray_geroski March 5, 2025

Oh, I've fixed it. I was calling the date incorrectly. This works:

Project-{{now.Year}}-{{now.weekOfYear}}

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
ENTERPRISE
TAGS
AUG Leaders

Atlassian Community Events