Hi,
I’m integrating my product with Jira Data Center and encountering an issue while trying to identify required fields for creating issues. I’m using the API endpoint:
/rest/api/latest/issue/createmeta/{projectIdOrKey}/issuetypes/{issueTypeId}
Here’s the problem:
- The Component field is marked as required in the Jira UI when creating an issue.
- However, in the schema returned by the API, it is listed with
"required": false. - When I attempt to create a ticket through the API without providing this field, I receive an error indicating that the field is required.
Additional details:
- Jira Environment: Data Center
- Authentication: Bearer token (API key)
How can I reliably determine which fields are truly required for issue creation if the schema doesn’t align with the actual requirements? Is this a known issue, or could it be a misconfiguration in the Jira setup?
Thanks in advance for your help!