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

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 vote
Gerry Tan Atlassian Team Nov 09, 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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

78 views 0 5
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you