Prefilled Customer Portal View


#1

Hi,

is there a way to prefill some fields of the customer portal view (create an issue)?

We want to create an issue automatically. More precisely we want to create an issue from our desktop software and set some custom fields like ‘version number’ or ‘operating system’. As I understand this is not possible with the REST API.
Maybe there exists another api (query, json, …).
Do you know how we can realize this?

Thank you for your help


#2

Hi Stefan,

I’m not sure I understand - create JSD requests with the REST API is entirely possible. See https://developer.atlassian.com/cloud/jira/service-desk/rest/#api-request-post
You can also use the API to get the form “definition” (see e.g. https://developer.atlassian.com/cloud/jira/service-desk/rest/#api-servicedesk-serviceDeskId-requesttype-requestTypeId-field-get). If what you want is create JSD requests from your software, but ask users only for some field values (i.e “pre-fill” others), then these are the APIs you’d need to look into. If not, could you clarify what you’re trying to do ?


#3

You might like to create different requests for different versions or operating systems. In those requests, the version number and/or operating system fields can be hidden, and given static values. Of course, it will depend on how many combinations of those values you have to support.