We recently installed Service Desk and have noticed that some programmatic access is breaking because REST endpoints, e.g.:
sometimes redirect (302) to
Why does this happen and can it be prevented?
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.
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.
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!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG