I am trying to build a URL that prepopulates fields on a JSM form.
I have a select list field and a custom asset field that I want to populate using the following format:
<jiraBaseURL>/servicedesk/customer/portal/<id>/create/<formid>?customfield_xxxxx=<value>&customfield_yyyy=<key>
In this format, customfield_xxxxx
represents the select list field. Although it works when I provide the option ID instead of the actual value, validation fails for the issue, resulting in an error requiring the field to be filled even when there is a value prepopulated in the field.
Additionally, customfield_yyyy=<key>
is the asset field, and <key>
represents the object key. However, this does not populate any values in the field.
Please suggest a way to prepopulate the custom fields using a URL in the JSM portal form