I need to pass custom fields through the create request api. How to do that?
$data = [
"serviceDeskId" => $serviceDeskId,
"requestTypeId" => $request->feedback_type,
"requestParticipants" => [
"requestFieldValues" => [
"summary" => $request->summary,
"description" => $request->description,
Hi @satheesh , this document describes how you can pass custom field value in the rest API's. https://developer.atlassian.com/cloud/jira/service-desk/rest/intro/#fieldformats
Let me know if that helps.
You will need to know the custom field Id after which you can pass it in the requestFieldValues. e.g.
"summary": "Request JSD help via REST",
"description": "I need a new *mouse* for my Mac",
"customfield_10086": "Testing custom field"
We often have questions from folks using Jira Service Management about the benefits to using Premium. Check out this video to learn how you can unlock even more value in our Premium plan. &nb...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events