Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Adding query parameters in forms.

Eduard Diez
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 2, 2024

Hello,

 

We need to know if it's possible to add query parameters in the URL of a dynamic form, so the form is already filled, (If the customfield exists)


Put the URL and in the URL add the custom fielf with value.
For exemple:
URL original: https://myweb.atlassian.net/servicedesk/customer/portal/2/create/425

What we want: https://myweb.atlassian.net/servicedesk/customer/portal/2/create/425?customfield_10480="test@test.com"

1 answer

0 votes
Antoine _Klee Group_ April 17, 2024

Hi @Eduard Diez that's possible with the "native" request form, just the way you describe it, it works fine with "description" or "summary" fields, I did not check with others though.

 

But this will not work with the "Forms" type fields as their value is stored in the "value" attribute of the HTML object and not its body, which is unaccessible without Javascript.

 

Best.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events