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

How do you pre-populate a Jira portal Dynamic form using the URL like standard forms.

Andrew Thomas November 29, 2024

Hi All,

I have recently created a few dynamic forms that changes based on the answer of the initial drop-down custom field. I was wondering if there was a way to pre-fill this initial dynamic field using the URL like on standard forms. For example, adding ?summary=test or ?customfield_12345=test on the end of the URL etc. 


Thanks for any help you can provide.

2 answers

1 accepted

3 votes
Answer accepted
Florian Bonniec
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 29, 2024

Hi @Andrew Thomas 

 

Based on Atlassian suggestion tracker it's implemented for JSM Cloud (https://jira.atlassian.com/browse/JSDCLOUD-133).

This article from the community may help you. https://community.atlassian.com/t5/Jira-Service-Management-articles/Pre-populate-Fields-from-URL/ba-p/1997476

 

Regards

Andrew Thomas November 29, 2024

Thanks

Andrew Thomas November 29, 2024

Hi,

Thank you, I can see that there is a NOTE on that link to say that what i am trying to do is not supported.

NOTE: This feature does not work with Forms specifically, as the pre-filled data is overwritten when the Form loads on the page.

The field i am trying to pre-fill is in a form so the URL method doesn't seem to work. When its outside of the form, it pre-fills ok which is a bit annoying.

Thank you for your help.

0 votes
Marc - Devoteam
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.
November 29, 2024

Hi @Andrew Thomas 

@Florian Bonniec is correct, based on the information n the links this is possible.

The is hoever a but, if a customer on the portal uses the predefined URL and selects another option (link) on the portal and then reverts to the previous page in the browser the predefined url; will not load and directs the customer to the main page

See, JSDCLOUD-9270 

Marc - Devoteam
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.
November 29, 2024

Of course you can set this in the fields on the request by setting them as hidden.

This required to have a predefined value set in a field.

Suggest an answer

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

Atlassian Community Events