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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Automation for Jira: Reference a created Version


I have created a rule that allows my team to transition tasks and issues from staging into production and it will create a version with an auto generated date.  How do I reference that data to then have it put into the tasks fixVersion? 

The system doesn't know the version because it hasn't been created yet.  So I can't select it and have the automation just drop it in.  I tried a couple ways but nothing appears to work.  


If I tell the system to just go to the next release, it picks the wrong release (I have multiple releases going on at a time hence the date). 

I was hoping to use When: version created but I don't know how to get it to take that version created and use that value and add it to the fixVersion field. 

I was thinking about using another issue transitioned but then I couldn't get any components to work. 


Thank you in advance for any help! 

4 answers

For anyone who's come across this: 

The suggestion from @Mark Chaimungkalanont does work, although the links don't point to the exact correct locations.

The Smart Value to be used here is {{}} (no "issue" whatsoever), where the version from the "Created Version" trigger is taken, but it can also use the value from a "Create Version"-Action from the same automation rule. 

So you can create a version, and then in a following "Create Issue" action (in the same rule) just write {{}} into the fixVersion field and it works.

Hey Florian, 

I tried this solution with no success. What am I missing?


My rule goes like that: 

Trigger: A transition being made

Action: A version is created

For JQL (filtering specific issues):

Edit: Fix Version with the smartvalue: {{}}. It does nothing to the issues in the JQL




@Nofar Ben Kereth 

I'm sorry to hear that it doesn't work for you. I just tried what you did and it works. I'm on Jira Cloud, not sure if that has anything to do with it. 

For me it looks like in the attached screenshot and worked that way. In the issue PT-3 the fix version was set to the newly created one.


It worked eventually, I guess I was missing something there before.



¿No les sirvió? {{}}

@Justin Koch did you ever figure out a solution? 

Unfortunately No, and my company is changing over from the cloud version to on prem.  So, I left the tool in the current state until that transition happens. 

0 votes

Hey there Justin,

If you have a create version action, you can access your created version in subsequent rules using the version smart value

Hope that helps!


Mark C

Hi Mark - Did you read the entire question? Seems like maybe not. 


I'm having this same conundrum. I tried doing a Version Created trigger that creates an issue, then setting the fixversion of that issue to be copied from the trigger issue. Seems like it should work but it doesn't. Maybe automation doesn't consider versions an "issue", therefore the trigger is invalid?

Like Eugenia Matushchenko likes this

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Apps & Integrations

🍻🍂Apptoberfest Update: Upcoming Virtual Events 🎉

Hello Community! I hope you've been enjoying the 🍂Apptoberfestivities🍂 (I know I have!) The event is heating up next week with a series of virtual events that we're calling the 🍻🍂Partner App ...

349 views 3 14
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you