JIRA Automation: Create new version when a new Sprint is created

Emerson
Contributor
August 23, 2022

Hi everyone!

I'm trying to do automation that creates a new version with a sequential name (eg v1, v2, v3, etc...) every time I create a new sprint. One of the mandatory fields is the version name and I don't know exactly how to write it so that JIRA understands this. Help me, please!

1 answer

1 accepted

3 votes
Answer accepted
Mark Segall
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 23, 2022

Hi @Emerson and welcome to the community!

You may want to take a look at this one:

https://community.atlassian.com/t5/Jira-Software-questions/Jira-Automation-Creating-a-fix-Version-with-appropriate-name/qaq-p/1363691

The trigger is based off of version released, but should flow similarly otherwise.

Emerson
Contributor
August 23, 2022

Hey @Mark Segall and thanks for the welcome!

Man, I'll tell you something. Worked wonderfully well!

Last question: for me to change and look like, for example, SPR_v1, just change the string inside the parentheses?

 

Thanks a lot! I was cracking my head here and now I'm happy!

Like Mark Segall likes this
Anja Eigner
Contributor
February 8, 2023

Hi @Emerson ,

please could you share with me the solution? I'm looking exactly for this case and cannot find the smart value to place in the automation.

 

Thanks a bunch!

Anja

Emerson
Contributor
March 24, 2023

Hi @Anja Eigner ,

I'm really really sorry. I didn't saw your message.

Ultimately I stopped using scrum boards. On the Kanban board it is simpler.

If you want to do the automation anyway, it looks like this:

When: Version released

Then: Create version
Version name {{version.name.substringBeforeLast(".")}}.{{#=}}{{version.name.substringAfterLast(".")}}+1{{/}}

In "More options" I like to put the Start date
{{now.jiraDate}}

 

P.S.: until now, for this to work, you need to create the first version manually.

Like Anja Eigner likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events