Uploaded image for project: 'Jira Software Data Center'
  1. Jira Software Data Center
  2. JSWSERVER-26437

Invalid Team ID Function for JQL

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • None
    • Issue - Fields
    • None
    • We collect Jira feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      BLUF: A JQL function for the Team field is needed to allow users to filtering for Team IDs which are no longer available (e.g., have been moved to transh). The function would work like the inactiveUser() function which provides similar functionality for user-fields.

      Currently Jira Cloud lets you move a Team to trash while it's still populated in the Team field of issues. When this happens the Team field retains the ID, but Jira no longer resolves the team name. Instead, it displays "Not Available."

      In these situations, the user filter for these issues by the Team field because...

      • The team name can't be resolved and the Team ID likely isn't known by the user (and may still not work).
      • The Team field is not empty so "Team[Team]" is Empty doesn't work
      • There is no way in JQL to identify no-longer-valid Team IDs.

      Because the Team field is used extensively in board filters, this situation can result in orphan stories that don't appear on any boards.

      A solution for this situation could be a function that returns no-longer-valid Team IDs. This function would be analogous to the existing inactiveUser() function for user data type fields.

      If the new function was called "invalidTeam()" it would look something like this In action:

      JQL: "Team[Team]" in invalidTeam()
      

              Unassigned Unassigned
              977d38efbbed Steve Goodwin
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: