Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,294,516
Community Members
 
Community Events
165
Community Groups

Adding a fix version in Jira Automation isn't working

I've been trying to automatically add a fix version when an issue is added to a sprint but no matter what I've tried it does not seem to work. This is what I have in the additional fields section.
Capture.PNG
The variable {{fixVersionName}} is used to create the new fix version, which works as expected, I just can't seem to get it to add it to the issue. If I choose the fixVersion option form the drop down above it does correctly add the fix version but it removes any fix version that was already there. Any help would be appreciated.

1 answer

1 accepted

0 votes
Answer accepted

Hi @Robin Murray 

Try following JSON:

{
"update": {
"fixVersions" : [
{
"add": {
"name": "{{fixVersionName}}"
}
}
]
}
}

Kind,

Piotr

Hi @Piotr Zadrożny _Eyzee_ 

That worked perfectly.

Thank you,
Robin

Like John M Funk likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS
Community showcase
Published in Jira Software

Upcoming changes to epic fields in company-managed projects

👋 Hi there Jira Community! A few months ago we shared with you plans around renaming epics in your company-managed projects. As part of these changes, we highlighted upcoming changes to epics on...

14,218 views 35 44
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