Uploaded image for project: 'Jira Platform Cloud'
  1. Jira Platform Cloud
  2. JRACLOUD-82782

Ability to Retrieve all Teams via Rest API for Bulk Action

XMLWordPrintable

    • 144
    • 39
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      Atlassian update - November 2024

      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

      1. 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
      2. Once the data is collected, extract the Team ID
      3. 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.

              4b7910ae10b4 April Chi
              asalinasii@atlassian.com Alfonso S.
              Votes:
              52 Vote for this issue
              Watchers:
              36 Start watching this issue

                Created:
                Updated:
                Resolved: