Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Pre-populate Fields from URL

38 comments

Steve Letch
Contributor
October 24, 2023

@Yatish Madhav 

Use a Scriptrunner Initialiser. There's templates in the adaptavist library.

Steve Letch
Contributor
October 24, 2023

Will just add, if you want to help your users a bit, use a DB query to import your custom fields and their options into Assets, then you can put an Assets widget on a service desk KB page and people can then see the ID's of things.

Like Josh likes this
Yatish Madhav
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.
October 24, 2023

Thanks @Steve Letch -  that is assuming we have and pay for ScriptRunner for Jira right? We do not have that.

Steve Letch
Contributor
October 24, 2023

@Yatish Madhav 

You could set a default value in the field but that would limit you to having that value set globally.

jamesholcomb
Contributor
November 1, 2023

One important note, I had to all lowercase "customfield_" in the url query string to get this to work.

Deleted user January 18, 2024

I created a web tool at https://booniepepper.gitlab.io/jira-former/

 

As of posting it can just do the basic summary and description filling (code heads: feel free to contribute or send me issues etc).

 

Does anyone know if there a way to make the description handle newlines well?

Like Yatish Madhav likes this
Morten Junker Juul
Contributor
March 12, 2024

This works fine, but it does not work when using forms. And how would you have fields with conditions (show/hide from values selected in other fields) in a "Request type".  It would require a lot of request types if not using forms with field conditions.

Would really be nice if pre populate worked with forms also. 

Like Steven Cavanagh likes this
Jacob Jaskolka
Contributor
June 2, 2024

As others have mentioned, we need the ability to use Asset fields as the pre-filled value. The half-measures from Atlassian and then calling it a complete solution need to be addressed. 

Furthermore, as proforma forms are taking more of an active role, it should be available there too.

Ashutosh Sharma
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 13, 2024

For Forms, we have this open feature request: https://jira.atlassian.com/browse/JSDCLOUD-12177

Josh Marsh July 16, 2024

Does anyone else run into the issue where if the customer is not already logged into the portal then the context part of the URL is overwritten when clicked/entered/selected? 
For example:
https://domain.atlassian.net/servicedesk/customer/portal/12/group/81/create/502?summary=This%20is%20my%20subject&customfield_12648=BCN-83
->
https://domain.atlassian.net/servicedesk/customer/portal/12/user/login?destination=portal%2F12%2Fgroup%2F81%2Fcreate%2F502

Crucially, is there a way to retain the field information in this scenario?

Thanks,
Josh

Steven Cavanagh September 15, 2024

Yet another feature that JSM almost does.

Asmatullah Latifi January 22, 2025

But its not working with Dropdown Feld ? any idea ? i tried like follow link:

 

https://ourdomainname.atlassian.net/servicedesk/customer/portal/19/group/63/create/312?customfield_13070=blocker

Yatish Madhav
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.
9 hours ago

Hey, I am looking to pre populate a JSM portal link with an @ user mention

Eg https://xxx.atlassian.net/helpcenter/it-service-management/portal/1031/group/1048/create/4372description=%5B~accountid%3A5cf51a2d22c5c3044e0ac3bd%5D+Please+provide+details+here&labels=testLabel&priority=1&summary=Assistance+needed

You will see that I added (in bold and urlencoded) a Jira user ID 5cf51a2d22c5c3044e0ac3bd - but it shows the below ...

Screenshot 2025-06-12 090752.png

Would like for it to pre populate into an @ user mention - something like this:

Screenshot 2025-06-12 090829.png

Please assist or shared with me another post that can help?

Thank you

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events