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?
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!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.