hello,
i'm trying to create an issue via jira's api, and this error returns:
{
"errorMessages": [
"Field Affects versions is required."
],
"errors": {}
}but when I request from the jira api all the fields of that issue type, it says that the field 'Affects versions' is not required: (required: false)
"versions": {
"required": false,
"schema": {
"type": "array",
"items": "version",
"system": "versions"
},
"name": "Affects versions",
"key": "versions",
"hasDefaultValue": false,
"operations": [
"set",
"add",
"remove"
],also, when i'm trying to create the same issue in the jira ui, i'm getting the same error. (and you can see that this field is not required, like the field 'components'

how am i supposed to know that this field is required when i'm creating an issue via jiras api, if even the api says that its not?
thanks!