Using 'has Epic' and 'is Epic of' with 'linkedIssues()' JQL should return error message

XMLWordPrintable

    • Type: Suggestion
    • Resolution: Low Engagement
    • None
    • Component/s: JQL
    • 0
    • 1

      Problem Definition

      Users would expect to get outcomes for Epics related to the Issue when using this JQL:

      issue in linkedIssues("QQQ-1", "has Epic", "is Epic of")
      

      'QQQ-1' is the Issue Key

      However, when using the JQL, it would return no results nor error message:

      The expected behavior when using non-existing Link Types would be to receive an error message:

      This current behavior can be confusing

      Side note: Creating a Link Type with "has Epic" and "is Epic of" would yield results should there be any issues using the Link Type. However, this can cause further confusion.

      Suggested Solution

      Throw an error message when using the JQL to avoid confusing the user. Additionally, the error message could also include the alternative JQL to use.

      Workaround

      Use the following JQL based on the use case:

      • If the Issue with an Epic is known:
        Issue in (<key>)
        

        Replace <key> with the Issue Key linked to an Epic. If there are multiple Issue Keys, add it in with ','

        • From the outcome, take note of the Epic Link column as that would indicate the name of the Epics
      • If you want to display all Epics in a Project
        project = <pkey> AND "Epic Name" is not EMPTY
        

        Replace <pkey> with the Project Key

        • The outcome would display the Epics in the Project. Take note of the Epic Name column to know the Epic name and Key column to know the Issue Key for the Epic
      • To list out all the Issues linked to a known Epic:
        "Epic Link" = epic1
        

        epic1 is the Epic Name/Link

        • The outcome would list out all the issues that have the 'Epic Link' field populated with the stated Epic Name/Link

        1. JQL2.png
          JQL2.png
          36 kB
        2. JQL1.png
          JQL1.png
          33 kB

            Assignee:
            Unassigned
            Reporter:
            Irfan Mazli Mazuki (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: