The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
I'm have to create a Jira request for the custom fields? How do I get the custom field values in backend in getter and setter?
"fieldId":"customfield_10600", "fieldId":"customfield_11318",
Eg : customfield_10600 stores email value and
customfield_11318 stores the phone number val
Thanks
welcome to the Atlassian Community.
I'm assuming you're using this REST API (POST /rest/servicedeskapi/request) to create a customer request, right?
In order to get the values to provide to the REST API, you can call GET /rest/servicedeskapi/servicedesk/{serviceDeskId}/requesttype/{requestTypeId}/field.
Let us know if that works,
Matthias.
Thank you for the reply.
I want to set values to the custom fields and they are part of
https://jira.hyundai-autoever.eu/rest/servicedeskapi/request")
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, the fieldId is the ID which you'll have to pass as the REST API docs explain for requestFieldValues:
JSON map of Jira field IDs and their values representing the content of the request.
I hope that helps.
PS: If you reply directly to an answer, you get nice answer threads :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The 2020 acquisition of Mindville added powerful asset and configuration management capabilities to Jira Service Management in the form of Insight. Following the completion of that integration, custo...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.