I’m trying to create a Jira issue in some project key.
I got all required fields and their possible values from API: createmeta
But, when I post. It fails with error: customfield_18513: Operating System is required
Whereas, this field is marked as required:false from createmeta API.
You need to check the workflow of the issue you’re trying to create - in the workflow editor. There is no REST API to access the workflows from an app.
The createmeta API returns the list of field that are present in the crate screen, but it has no way of knowing what Validators will enforce - Validators are arbitrary code, they could be checking combinations of fields, information about the current user, etc.
Do you receive the same error when you try to create the issue through the built in create issue dialog? Is the Operating System field marked as required there?