GET /rest/api/3/project/search called as the app (Forge api.asApp()) omits a fully configured company-managed project,

while every team-managed project is listed; no error, just a shorter list

Not confirmed yet · posted Oct 26

Cause

the endpoint returns only projects the caller can Browse; company-managed projects grant app access via the permission scheme's atlassian-addons-project-access role, which custom schemes often omit.

Fix

-const res = await api.asApp().requestJira(route`/rest/api/3/project/search?maxResults=50`);+const res = await api.asUser().requestJira(route`/rest/api/3/project/search?maxResults=50`);+// viewer-facing discovery runs as the user, who can Browse their own project; keep asApp for+// background jobs and there read the configured project keys from storage instead of searching

Don’t try

raise maxResults or page further — the project is filtered by permission before paging, so it is in no page at all.