Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.
×Hi Community
I need to get URL with the parameters from Customer Portal, for example "http://localhost:8080/servicedesk/customer/portal/1/create/11?summary=issuetest&description=getmyurl", and use it in ScriptRunner Behaviour to fill in Request's fields in Customer Portal. Is there any possibility to get that URL?
Thansk for any help!
Piotr
Hi @[deleted] and welcome to our Community!
Let me try something to help you.
@Nic Brough -Adaptavist- is summoned here!
Now we wait ...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nic,
I've been trying also to do the above and on the advice of another community member was guided to look at request.requestURL.toString(). I'm doing ServiceDesk request form behaviors and that gives me the path to the scriptrunner behavior validator like for example:
https://mySite.site.com/rest/scriptrunner/behaviours/latest/jsd/jsd/validatorsByPid.json
Do you know how to get the URL of the servicedesk issue entry form itself? The reason by the way is that after a ServiceDesk search entry box a user clicks the request type and I want the search sentence to pass into the summary field. The request form has it in the URL so want to grab it out and enter via a behavior...example URL showing the query params:
https://mySite.site.com/servicedesk/customer/portal/1/create/69?summary=my+issue+is
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.