I want to get the teams a user is in through the rest api. I mean the Teams you can see under a user's profile like: (https://server.atlassian.net/jira/people/team/teamId)
I'm not talking about the user's groups.
Is this possible?
@Anish Deena, we have a requirement to pull "Shared Team" data via API and create custom reports on Power BI. Could you please guide me on how i can achieve that?
Link to "Shared Team" feature
We would like to synchronize our company PagerDuty groups with Jira teams. I have seen a "Groups" endpoint under the platform API but this is different from the Teams in Jira Software. It would be really great if there was a simple teams API endpoint we could build this integration with.
Teams in their current format are not as useful as they could be.
We'd love to allow people to ask 'Teams' for approval on pages from Confluence (using the Approvals for Confluence App), instead of duplicating the functionality ourselves.
Similarly, it would be useful to compare 'Teams' against one another with 'Pulse for Jira', but unfortunately, there is no API available at the moment for this - and it doesn't seem to be coming soon.
This, along with the lack of any inject-able panels in the new User UI makes the changes around 'People' feel half-baked and it locks out developers from this new interface.
@Anish Deena Here are some straightforward use-cases requiring access to Team data.
Let's start with an Advanced Roadmap in Jira Cloud using teams.
Here are several Automation Rules that would need to leverage the Team field:
Since the Assignee field is completely independent of the Team members, this is an ideal opportunity to utilize Automation for a variety of organization-specific needs.
Observe that there are two types of Team data needed here:
As of 1Q2021, access to the Team field seems almost exclusively restricted to Roadmaps. The only exception I found was that using an Advanced Issue search in Jira will show (only) Shared teams (even with full admin privs):
-- -- -- -- -- -- --
We have a current use-case where our Roadmap leverages a set of Teams, each containing a single user. Our roadmap is 6-months with significant dependencies, multiple releases, estimations, etc. We want to leverage Auto-schedule as we periodically iterate on the plan during execution.
My goal today to support this effort was to "simply" use Automation to set the Assignee field in each of the hundreds of issues to match the Team. But I can't.
I also hoped to set up a "bi-directional sync" rule, to help keep the Team and Assignee fields matched. That's not going to work either.
Automation doesn't seem to know about the team field at all:
I'll be able to manage the initial Assignee step manually, iterating with Bulk Edit. But without any "sync" option, I'll have to periodically review all the issues manually for mismatches.
For those following this topic, and wanting to vote for this capability:
I also found this closed ticket that found some (inconsistent) access to the Team field via "Fields Changed" in Automation. But there is no joy here:
Also: I realize the OP was focused on the Jira API. But I believe there are systemic issues with access to this data at all, outside of Roadmaps. Were that to be addressed, I expect both API access and Automation access would be offered.
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events