-
Suggestion
-
Resolution: Fixed
-
144
-
39
-
Hi everyone,
My name is April and I’m a product manager at Atlassian 👋 We’re happy to announce that you can now fetch all your Teams using the REST API and subsequently, use it for bulk actions. You can start using it today - the documentation is available here.
There are certain asks we're heard from around Public Team APIs:
- Search team by name
- API response to include membership information
- API response to include last updated information
Please let us know if you have any further asks, questions, or suggestions around this. We appreciate your valuable feedback and thank you again for helping us improve the product 🙏
Regards,
April
Summary
Currently, in Jira Cloud there is no Rest API that can retrieve all Team details: https://developer.atlassian.com/platform/teams/components/team-public-rest-api/
In order to perform bulk operations (bulk delete) this makes the task much more challenging to accomplish as we need the Team ID to use the Delete Rest API.
Expected Results
There should be a Rest API available to retrieve all Teams
Actual Results
Currently, API documentation only allows the retrieval of a single team.
GET /gateway/api/public/teams/v1/org/{orgId}/teams/{teamId}
Workaround
- You can use Browser Dev Tools to retrieve the response payload of Team details when navigating to the Teams page: https://<Jira Cloud Site>/jira/people/search/teams
- Once the data is collected, extract the Team ID
- Script a solution that will loop through the list of Team IDs and perform the bulk action using Rest API
Update as of February 26, 2024
You can retrieve information about all Atlassian Teams within your organization through our GraphQL API. There is a KB article that offers a script that facilitates the export of this data or you can utilize it as a reference to create a personalized solution: Exporting Atlassian Teams and Members data from my Organization.
- duplicates
-
CLOUD-11862 Implement a REST API endpoint to fetch all Teams
- Closed
- is related to
-
ATLAS-96 Multiple JCMA migrations on the same Cloud site will result in duplicate teams
- Gathering Interest