Fetching info about installed addons

We previously used the endpoint /rest/atlassian-connect/1/addons/<addonKey> to check whether a specific add-on is installed on a Jira instance.

In Forge, this endpoint isn’t accessible — calling it with requestJira returns a 401 Unauthorized error (scope does not match).

Is there any way in a Forge app to determine if another add-on is installed on the same Jira instance?

Hi @MichalBiros1

Could you share your use case please? Are we talking about checking if another app by the same owner / developer is installed. Or, any other app?

Hi @MichalBiros1

The /rest/atlassian-connect/1/addons/<addonKey> endpoint is not accessible due to scope restrictions in Forge, and attempting to call it results in a 401 Unauthorized error.

Checking the app by the same owner.

We have several add-ons, and each of them includes a shared menu that allows users to switch between our different apps.

We used that endpoint to determine whether another one of our apps was installed on the Jira instance — so we could either show a link directly to the installed app or, if it wasn’t installed, to its Marketplace listing.

So we are looking for a way how to solve this behaviour in Forge.