I am trying to create an issue using Rest API and affects version/s field is mandatory in our create issue screen.
"versions":[
{
"id":"15911"
}
],
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?