Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to automatically edit the Fix Version field to the most recently created Fix Version?

Connor Skiro
Contributor
December 8, 2020 edited

Within Jira Automation, I am looking to edit an issue with the most recently created Fix Version. 

My current logic in Jira automation is that when an issue is created, a new Fix Version is created based on the summary text. Then, I'm looking to apply that newly created Fix Version to the newly created issue.

However, my only options when editing the Fix Version field are to select the next unreleased Fix Version.

Is there a way to use smart values with the Fix Version field?

1 answer

1 accepted

0 votes
Answer accepted
Yvan Martin
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 17, 2020 edited

Hi there Connor,

Developer from Automation here.

You can actually type in smart fields with most edit fields, it won't be recognised as one until you put in the {{version}} though, see attached screenshot. You should also see other field options such as copying from issue etc.

In general though if you've created a new version, then "Next unreleased version" should already map to the newly created version.

If you require further support with you rule, then you can get in contact with support here: https://support.atlassian.com/

Screen Shot 2020-12-18 at 4.39.09 pm.png



Connor Skiro
Contributor
December 18, 2020

Hi Yvan, 

Woah, I wasn't aware that you could do this. To me, it wasn't intuitive as the Fix Version field dropdown box made it seem like you had to select one of the options. Thank you for the feedback, your suggestion worked!

In general though if you've created a new version, then "Next unreleased version" should already map to the newly created version.

I thought this would be the case, however, when I was testing in my sandbox project I found that if there were multiple unreleased versions in the Releases table "Next unreleased version" would always select the version at the most-bottom row. 

In the image below, a newly created ticket would always get tagged with the "Test Release 10110" version instead of "My Test Release 9999".


Screen Shot 2020-12-18 at 7.11.42 AM.png Nonetheless, thank you very much for replying and ultimately solving my problem!

Best, 

Connor

Like Derek Owens likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
atlassian, atlassian government cloud, fedramp, webinar, register for webinar, atlassian cloud webinar, fedramp moderate offering, work faster with cloud

Unlocking the future with Atlassian Government Cloud ☁️

Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.

Register Now
AUG Leaders

Atlassian Community Events