I can't figure out how to set the affects version/s using REST API to JIRA. Does anybody know?
It seems like we are suppose to use the field versions but use some kind of parameter called affects version? I can't find this anywhere in the REST API documentation.
Community moderators have prevented the ability to post new answers.
My bad, it was a semicolon in the wrong place, this is the syntax
"versions": [ { "id": "10000" } ], ....etc
Hey @Linus Lindroth,
Although this question was posted quite a while ago, I thought it is better off trying to reach out here than creating a new one.
I am trying to create an issue using Rest API and affects version/s field is mandatory in our create issue screen. Tried using the above mentioned syntax but I get this
error {"errorMessages":[],"errors":{"versions":"Version id '15911' is not valid"}}
The id I used is from projectversion table,is that the right id? Also tried with name instead of id and got similar error.
{"errorMessages":[],"errors":{"versions":"Version name 'Example 1.3.1.4' is not valid"}}
How can Affect Version/s value be set?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try this...
"versions" : [ { "name" : "xxxxx" } ], ....etc |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.