Forums

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

Can update fixVersions to empty or remove the current one from an issue via REST

salvador
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 22, 2020

while posting to 

PUT /api/3/issue/${key}

{"update":{"fixVersions":[{"remove":{"name":"X.X.X"}}]}}

 it will not remove the version..

using: 

{"update":{"fixVersions":[{"set":[]}]}}

does not works either. 

 

the version is already marked as released btw, however I can change it using the GUI.

1 answer

1 accepted

0 votes
Answer accepted
salvador
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 23, 2020

 I was using the wrong method, it works with the set, but is easier to just set the value using the fields 

 

{
fields: {
fixVersions: [],
},
}

Suggest an answer

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

Atlassian Community Events