Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,365,108
Community Members
 
Community Events
168
Community Groups

Prefill the Help Center ticket via URL

Hi,

When creating a Help Center ticket, it is possible to prefill some parts of the form by using the query string.  This link opens a page with filled summary and description fields:

https://company.atlassian.net/servicedesk/customer/portal/2/group/3/create/18?summary=summary&description=line1%0line2

On our form, we have a custom field with a dropdown menu.  In the HTML for the page, it has the source

<input class="Input__InputElement-sc-1o6bj35-0 bfCuIo" id="customfield_10861" name="customfield_10861" spellcheck="true" type="text" value="">

Is it possible to prefill the form for this value?  I have tried adding ?customfield_10861=value1 to the URL, but it does not work.

1 answer

Hi @timothy.quinto

Maybe it's a shot in the dark, but shouldn't customfield_10861 occurrences be smart values something like this {{issue.customfield_10861.htmlEncode}}?

You can try changing the default value in Jira:

Settings -> Issues. Then go to Fields and click on Custom Fields. Find your custom field and click include -> Configure and use the "edit default value" button.

Cheers,
Patrik

I want this to be dynamically selected based on the URL.  The default value is not always the correct one for every user.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS

Atlassian Community Events