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

JQL - Filter issues that are linked only to open/active issues (not resolved or closed blockers)

XMLWordPrintable

    • 0
    • 9
    • 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.

      Issue Summary

      Unable to use JQL advanced search to filter issues that are linked to other issues but only show results where the linked issues are not in closed or resolved status.

      Steps to Reproduce

      1. Performing a JQL using issueLinkType = "is blocked by", for example, returns all issues that are or were blocked by issues even if the blockers are resolved or done.

      Expected Results

      Having a function or a modifier that filters the results further so that only links to "active" issues are considered.

      Actual Results

      There's no way to perform this filter in a single query at the time.

      Workaround

      Retrieving all "active" issues (not resolved or closed) manually and using them to form a query like the following example:

      project = "EOB" AND issue in linkedIssues(EOB-1,"blocks") OR issue in linkedIssues(EOB-3,"blocks") OR issue in linkedIssues(EOB-4,"blocks")
      

      This works but becomes impractical as the number of "active" issues increases

       

              Unassigned Unassigned
              3638101d8c0a Jose Gochi
              Votes:
              3 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated: