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

automating fix version creation

Nahed Hamdi March 29, 2022

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
Mark Chaimungkalanont
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 4, 2022

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
AUG Leaders

Atlassian Community Events