Get Create/Edit Request Metadata in JSD Rest API

jsd
jira-service-desk
rest-api

#1

Hi team,

I’m trying to create a request/issue using the JSD rest API but I’m not sure which fields are available and required when calling:

https://developer.atlassian.com/cloud/jira/service-desk/rest/#api-request-post

In JIRA Rest API, we do validate the data using the Get Create/Edit Issue Metadata before calling the API.

https://developer.atlassian.com/cloud/jira/platform/rest/v3/?utm_source=%2Fcloud%2Fjira%2Fplatform%2Frest%2F&utm_medium=302#api-api-3-issue-createmeta-get

Is there something similar for JSD Rest API? As far as I know, fields allowed in issue creation through Jira Rest API may not be available during a JSD request creation through JSD Rest API.

For example, issue description may not be necessary when creating an issue, but it may be a required field when creating a request. I would need to know this for this description and other fields to act accordinllty

Cheers
Fernando


#2

Hi team, any answer?

I’ve created
https://ecosystem.atlassian.net/projects/JSDECO/issues/JSDECO-109
and
https://jira.atlassian.com/browse/JSDCLOUD-6566

Please close the one in the wrong place.


#3

Hi @fboucquez, can you please try the GET request type fields API: https://developer.atlassian.com/cloud/jira/service-desk/rest/#api-servicedesk-serviceDeskId-requesttype-requestTypeId-field-get


#4

Hi Gerry, thank you for pointing me to the jsd rest method. It did the trick! Now I know which fields I can and need to fill when creating a request by jsd rest api.