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

Is there any possibility to get Customer Portal URL in ScriptRunner Behaviours?

Deleted user October 30, 2018

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

2 answers

2 votes
Grigory Salnikov
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 30, 2018

Hi @[deleted] and welcome to our Community!

Let me try something to help you.

@Nic Brough -Adaptavist- is summoned here!

Now we wait ...

1 vote
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 31, 2018
Matthew Page September 16, 2019

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events