Missing scope view:team:teams

Hi everyone! :waving_hand:

I’m currently building an internal estimation tool and would like to retrieve the team a user belongs to. Since the REST API doesn’t seem to provide an easy way to get this information, I’ve been exploring the GraphQL API instead.

To use the teamSearchV2 query, I understand that the view:team:teams scope is required. However, I’m not seeing this scope listed in my app’s Developer Console. Am I missing a configuration step, or is there a specific requirement for enabling Teams API access?

I’m using OAuth 2.0 in the app as described in the official documentation. Everything else works as expected — it’s just the Teams API that’s giving me trouble.

Any guidance would be greatly appreciated. Thanks in advance! :folded_hands:

1 Like

Not sure if there’s any official documentation or why the scope isn’t visible in the developer console. However, in order to understand how you can use the query, you can take a look at the code of GitLab for Compass. They are using the teamSearchV2 query. Just set the view:team:teams scope in your Forge app and it should work (at least for Compass - not sure if it works for Jira and Confluence as well but let us know if you try it).