Forums

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

Automation for JIRA fails to add fix version

Zdeněk Černý
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!
April 21, 2021

I want in one edit add fix version to issue and remove other one. I use edit issue and advanced option with this json:

{
"update": {
"fixVersions": [{
"remove": {
"name":"Release Candidate"
},
"add": {
"name":"Version - 1001001"
}
}]
}
}

 

expected result: Release Candidate version is removed and Version - 1001001 is added.

actual result: Release Candidate version is removed 

If I call this via REST API it works also as expected.

 

if I run 

{
"update": {
  "fixVersions": [{
  "add": {
  "name":"Version - 1001001"
  }
}]
}
}

the new version is added just fine.

 

 

0 answers

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