Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,460,043
Community Members
 
Community Events
176
Community Groups

automating fix version creation

Hi

I been trying to create a fix version when ticket is moved to certain state.

my issue is with setting the name of the fix version, where the format is the following

Year. WeekofYear .the number of the release 

starts from 1 every week.

 

any idea how to handle that?

1 answer

0 votes

You should be able to use the Create version action setting the name of the version to a smart value. For smart values that are available check out https://support.atlassian.com/cloud-automation/docs/jira-smart-values-date-and-time/

e.g. 

{{now.year}}.{{now.weekOfyear}}

the number of the release is something that needs to be stored else where or comes in as part of the trigger (ie it could be field in the issue)

You can then use the version in the "Edit issue" action's "Fix version field" and set it to the smart value {{version}}

Hope that helps! 

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events