We are trying to understand the data types for the custom fields of Jira Server Platform. We couldn't find much information about it in API documentations.
In the link https://developer.atlassian.com/server/jira/platform/rest-apis/ under filed input formats, we do see some examples mentioned but that doesn't cover all the types that Jira Server Platform offers. Can someone point me to the right place, in which format these custom fields needs to be passed to the APIs.
field format depends from the custom field itself.
For example if your filed is a text you should pass value as a string, if it's a date you need to pass value as a string with specific format, if it is a select list you need to pass the option id and so on.
Please take a look here https://docs.atlassian.com/software/jira/docs/api/REST/7.6.1/#api/2/issue-createIssue in order to see an example.
Hope this helps,