When does Jira Service Desk redirect to /servicedesk/customer/portals?

dmitri November 4, 2016

We recently installed Service Desk and have noticed that some programmatic access is breaking because REST endpoints, e.g.:

/rest/api/2/search

sometimes redirect (302) to

/servicedesk/customer/portals

Why does this happen and can it be prevented?

1 answer

0 votes
Gerry Tan
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 9, 2016

If this only happens when the REST API call is authenticated with unlicensed JSD customer then this is a known issue: https://jira.atlassian.com/browse/JSD-1640. A fix is currently in development.

Edit:

My answer above is slightly misleading. Unlicensed (aka external) JSD customers are free, hence we have to restrict what paths are available. At the moment we've decided free customer should not be able to use JIRA REST API (even those available to anonymous), because we're restricting by the path prefix /rest/api/2/...

For this scenario, you can work around it by not authenticating the REST call with any user.

Suggest an answer

Log in or Sign up to answer