Schema types documentation for creating issue through rest api

I’m developing a custom integration with Jira Cloud/Server/DC via REST API and want to create issues in customers’ Jira through our system. We have a custom interface, that allows selecting a project, issue type, and required fields on our side.

I’ve using /rest/api/2/issue/createmeta endpoint to get info about required fields, but it’s not clear, what schema types (i mean - number, array, priority, option, etc) can be used for filling these required fields.

Is there any documentation, that can help me understand, how to build a user interface for these fields?

Thanks!

1 Like

@NailIsmangulov welcome to the Atlassian developer community.

There is not exhaustive documentation for the types. However, you can find the expected payloads for the most common types here:

1 Like