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.
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
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
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
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.