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

How can i get Customer Portal URL.

Max October 17, 2017

I have service desk project. How can I get customer portal URL? Offcourse, i can choose "Project"-->"Portall Settings"-->"View and change" an then copy address from the browser. But i need to get URL programmatically from java or java script code.

1 answer

0 votes
Maurice
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 17, 2017

Hi Max,

The Jira API doesn't have a method to get this portal URL, however you could use the following REST call to get the data needed and then use your java/javascript code to reformat it into the URL.

GET /rest/servicedeskapi/servicedesk

 Service Desk API

 

If you compare the results from this with your known portal URL you should be able to determine the changes needed so that the value from the REST can be used as the portal URL.

 

Hope this helps get you going in the right direction!

Best regards,
Brian

Juri Begoihn February 19, 2019

Hi Brian,

I try to use the same method to provide a list of links to our service desk portals.

I encountered the problem, that the service desk ids I've got in the JSON do not correspond with the number used in the URL all the time.

Do you have a solution for this behavior?

 

Best regards,

Juri

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events