Currently, The team public REST API below does not have API that would return all teams by organization ID. there is a API to get a single team by team_id but how does one know team Id if they do not get all teams . any recommendation/suggestion.
The wrong way to do it might be OK if you're making a one-off tool: use an internal API discovered from the Search People/Teams page.
https://<whatever>.atlassian.net/gateway/api/v3/teams/search?organizationId=MYORGANIZATIONID
The more correct, but more complex, way to do it is to use the GraphQL API (probably teamSearchV2) and include the team ID in query results.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.