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

JQL issueLinkType is inconsistent when using != or NOT IN operators when weblinks are part of issueLinkType

      Issue Summary

      When filtering issues by issueLinkType the results are inconsistent when using the != and NOT IN operators when weblinks are part of issueLinkType.

      Steps to Reproduce

      1. create a project, BUG
      2. create two issues BUG-1, BUG-2
      3. link BUG-1 to BUG-2, i.e. BUG-1 blocks BUG-2
      4. search with JQL - project = BUG and issueLinkType != clones, both issues are listed
      5. now add a ‘weblink’ to BUG-1
      6. repeat the query, now BUG-1 is not returned while BUG-2 is still there.

      Expected Results

      The != or NOT IN operators should return the difference between the first and second queries.

      Actual Results

      There is not output with the results.

      Workaround

      If the linktype has the weblinks in it, instead of using 

      issueLinkType != "link_type_name"  

      We can use the below JQL to fetch the data that should include all the linktypes except the one isn't required:

      issueLinkType in ("link_type_name1", "link_type_name2", "link_type_name3" ...) 

            [JRACLOUD-80469] JQL issueLinkType is inconsistent when using != or NOT IN operators when weblinks are part of issueLinkType

            Dominik Franke made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 889994 ]
            Dominik Franke made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 871221 ]
            Megha made changes -
            Labels Original: RIBS RIBS-SHORT New: RIBS-SHORT
            Megha made changes -
            Labels Original: RIBS New: RIBS RIBS-SHORT
            jrivera2 made changes -
            Labels New: RIBS
            Lukasz Jarzembowski made changes -
            Resolution New: Fixed [ 1 ]
            Status Original: In Progress [ 3 ] New: Closed [ 6 ]

            10 October 2023

            Hey everyone,

            I'm happy to share that this bug has been fixed.
            Thanks as always for your patience.

            Best,
            Łukasz Jarzembowski
            Senior Software Engineer, Jira Cloud

            Lukasz Jarzembowski added a comment - 10 October 2023 Hey everyone, I'm happy to share that this bug has been fixed. Thanks as always for your patience. Best, Łukasz Jarzembowski Senior Software Engineer, Jira Cloud
            Lukasz Jarzembowski made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 822542 ]
            Łukasz Grzella made changes -
            Remote Link Original: This issue links to "Page (Confluence)" [ 818645 ]
            Piotr Swiecicki made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 818693 ]

              4a4b131c106c Lukasz Gosiewski
              66b8e0db41ca Mahmad Faruk
              Affected customers:
              3 This affects my team
              Watchers:
              10 Start watching this issue

                Created:
                Updated:
                Resolved: