Hello,
I want to create an issue in Jira using the Rest API.
Here is the JSON I am sending.
{
"fields": {
"project": {
"key": "KEY"
},
"summary": "Populating affects version",
"issuetype": {
"name": "Bug"
},
"versions":[{ "name": "1.0" }]
}
} This works just fine when the name of the version already exists in the project but prompts an error if not.
"errors": {"versions": "version name '1.1' is not valid"}
Is there a way to populate the "affects version" (or any versions field) field if the value does not yet exist within the project?
Thanks.