Hi, I'm looking for the rest API for get teams list of my account. is there any way I can achieve it without it there is no meaning to integrate JIRA in my project. Looking for your quick support for this?
Hello @Parshv Tridhya
Welcome to the Atlassian community.
Are you trying to get the list of Teams that have been defined within the Jira Cloud product, and can be used in the Team field? If so, it doesn't appear that there is currently a public API for getting a list of all Teams. This is the documentation I found:
The following post mentions an internal api endpoint that could be used. Note though that this is not a public endpoint and is therefore unsupported.
But Is there any way (API) I can find or search teams through my ID or organization ID ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I don't think I am understanding your question. I have provided you with the API documentation that enables you to search for teams.
The public API has an endpoint for getting a Team based on the Team's ID.
The post mentioning the internal API enables you to get a list of all the Teams for your Organization.
If that does not satisfy your need, please provide more information about what you want to do, and what problem you are trying to solve.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have go through with your solution but actually we are making forge app and we required api which provides list of teams but some of the reasons it won't working.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey, I'm in that screenshot! So, it's been a year since then and @Trudy Claspill has correctly pointed out that there now is an official API you can call.
Unfortunately for you and your use-case, the official API is at the org-level and thus not meant to be consumed by Connect or Forge apps. If you want that kind of access, you should open a feature request.
In the original post, I also mentioned GraphQL. Since then, I have warmed up to GraphQL – it's fantastic, albeit a bit verbose. If you are building a Compass app, I believe you can use:
CompassCatalogQueryApi.searchTeams
to look for teams. Apart from that, I currently wouldn't know where to look.
Hope that helps,
Oliver
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.