Unable to find a team when using the Team JQL function in the Jira search page

Still need help?

The Atlassian Community is here for you.

Ask the community


 

Platform Notice: Data Center - This article applies to Atlassian products on the Data Center platform.

Note that this knowledge base article was created for the Data Center version of the product. Data Center knowledge base articles for non-Data Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Summary


When using Advanced Roadmaps For Jira and configuring teams, you can see them in the Teams page:

But when trying to search for some of them in Jira's Issue Navigator, they might not show up in the auto complete nor return any results if you start typing:

Cause


This happens because only Shared Teams are searchable. Private Teams are not searchable.

Solution

Create a Shared Team and after that, you can add to the Plan by clicking + Add team and choosing the second option: Add existing shared team

Once done, you will be able to search for the team (it will be listed in the suggestions):


Alternative Workaround

While Jira will not include the name of Private Teams on the JQL search it is still possible to search for issues associated to them as long as you have the team ID.

You can get the team ID from the following Advanced Roadmaps with:

  • Database query, where The first field is the value to use on JQL
    select * from "AO_82B313_TEAM";
  • Private REST API "/rest/teams-api/1.0/team", as the example below from a lab (notice the private teams are marked as '"shareable": false'

    % curl -k -u dalves:dalves -X GET http://localhost:8080/rest/teams-api/1.0/team  | python3 -mjson.tool
    [
        {
            "title": "Shared team 1",
            "shareable": true,
            "id": 1
        },
        {
            "title": "Shared team 2",
            "shareable": true,
            "id": 2
        },
        {
            "title": "KBB board Team",
            "shareable": false,
            "avatarUrl": "http://localhost:8080/secure/projectavatar?size=medium&avatarId=10324",
            "id": 3
        }
    ]

    (info) Please note private APIs can be revoked in new versions of Jira without notice) :


Once you have the ID of the desired Team, let's say it's 123, use that in the advanced JQL issue search:

team = 123




Last modified on Aug 12, 2024

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.