The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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}}

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
ENTERPRISE
TAGS
AUG Leaders

Atlassian Community Events