How to retrieve the actual Jira instance I am in?

We’re seeing errors since a few days for both endpoints
/rest/api/3/serverInfo

/rest/applinks/latest/manifest

We access this URL to get the hostname of the product from a web trigger. The error is

Invalid URL: /rest/api/3/serverInfo

This API is officially documented here.

This is how we make the call which used to work until a few days ago.

This call is made within the context of a Forge Web Trigger!

const response = await api
        .requestJira(route`/rest/api/3/serverInfo`);
const results = await response.json();
return results.baseUrl;

I tried the graphql approach as well but seems not to work in a web trigger context either.

Any advice from your side? Already opened a support case with Atlassian.

Last time this API returned successfully: 2023-01-12T00:34:43.536Z

Thanks!

1 Like