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

Enable searching of issues where comments are empty

    XMLWordPrintable

Details

    • 2
    • 12
    • 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.

    Description

      Currently, JQL search does not support searching for empty comments. It only lets the user search using ~ or !~ operators, and if the user tries to search for empty comments, it will return :

      The field 'comment' does not support searching for an empty string.
      

      This can be inconvenient for users. It would prove to be useful if searching for empty comments are enabled.

      Workaround

      First, you need to create a filter where you will collect all the issues that do have comments, like so:

      comment ~ "ANY*" OR comment !~ "ANY*" 

      The previous filter is called "All comments".

      You can then use the following query to return issues that do not have comments:

       filter != "All comments"

      OR

      Use a custom field of type "Number of comments"

      Note: this bug JRACLOUD-74967 – Number of Comments Custom Fields are not displayed on the New Issue View affects ability to view this field but it can still be used for identifying issues with no comments.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jtye Joe Wai Tye (Inactive)
              Votes:
              55 Vote for this issue
              Watchers:
              29 Start watching this issue

              Dates

                Created:
                Updated: