I am trying to Archive a ProjectVersion programmatically using the following rest api:
http://jira/rest/api/2/version/10074
the payload I send in this put call is following: {"Id":"10074","archived":true}
However, I am receiving a "400 Bad Request" response back from the Jira server.
a get call to the same URL listed above downloads the following content:
{"self":"http://jira/rest/api/2/version/10074","id":"10074","name":"AAPT_221_CP11","archived":false,"released":true,"releaseDate":"2009-02-04","userReleaseDate":"Feb 04 2009"}
Any idea what I am doing wrong in the payload here?
Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.