Build URL to prepopulate field on JSM portal form

Sandhya Muthukumar February 10, 2025

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

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events