Forums

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

Adding a fix version in Jira Automation isn't working

Robin Murray
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 17, 2022
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

1 vote
Answer accepted
Piotr Zadrożny _Eyzee_
Community Champion
June 17, 2022

Hi @Robin Murray 

Try following JSON:

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

Kind,

Piotr

Robin Murray
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 18, 2022

Hi @Piotr Zadrożny _Eyzee_ 

That worked perfectly.

Thank you,
Robin

Like # people like this
Rebecca Lewis
Contributor
June 27, 2024

I am using the same JSON but getting the following error. Do you have any suggestions?

 

Error editing issues
[Issue Key] (Specify a valid value for fixVersions (fixVersions))
Like Benjamin Horst likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events