Compass - The app is not installed on this instance

Hi,

I’m trying to build my own Compass app with Forge, which runs a custom query from Jira in backend and send the formatted result to frontend. Frontend maps that data in Compass.

I have tested it in local, querying part is working without any issues. But when I deploy and install the app in Compass I’m getting an issue saying

403 : The app is not installed on this instance

I have given permission for these scopes

scopes:

  • read:component:compass
  • write:component:compass
  • read:jira-work
  • read:jira-user
  • read:issue:jira
  • read:project:jira

What I’m trying to do is I got a custom JQL, and execute it with

const jql = custom_jql;
const response = await api.asApp().requestJira(
route/rest/api/3/search? jql=${encodeURIComponent(jql)}&expand=changelog
);

Am I missing something in here, please can someone help on this? Thanks in advance

Have you installed/deployed the app in both Compass and Jira? You mentioned only Compass, but it seems like it would need both to combine data.