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

JQL search for @mentions

XMLWordPrintable

    • 911
    • 48
    • 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.

      NOTE: This suggestion is for JIRA Cloud. Using JIRA Server? See the corresponding suggestion.

      Problem Definition

      There is no way to search via JQL to get accurate results in regards to issues / comments were a user has been @Mentioned For example, users have noted that you can sometimes get results for an advanced JQL query such as

      comment ~ currentUser() 
      

      However the ~ operator is unsupported for use with that function per Advanced searching - functions reference - Atlassian Documentation.

      Also trying to search with a more basic set of terms like

      comment ~ username
      

      can sometimes return results, but in the current state of Jira Cloud it is not providing consistent  expected results (sometimes you see @ mentions here but not always), and given the recent changes to usernames in Atlassian Cloud, there does not appear to be a way to search via JQL for message content that includes @mentions

      Suggested Solution

      Creating a JQL function that can search for @ Mentions would be ideal
      Or extending the comment field to be searchable by user accounts mentioned within it

      Why this is important

      It would be very helpful to be able to search, filter, and generally organize issues where you have been mentioned directly.

      Workaround 1 (JQL)

      Taken from comments, below.
      Use the following JQL

      summary ~ currentUser() OR description ~ currentUser() OR comment ~ currentUser() 

      Workaround 2 (Slack integration)

      Slack can notify you when someone mentions you in Jira.

      Original description

      Would like to be able to create a filter to track my AT mentions

        1. screenshot-1.jpg
          screenshot-1.jpg
          16 kB
        2. no_result.png
          no_result.png
          9 kB
        3. comment.png
          comment.png
          47 kB
        4. image-2017-02-01-10-56-02-870.png
          image-2017-02-01-10-56-02-870.png
          93 kB

            9cd37cdfcb63 Jacqui Shadforth
            rmolenaar RoelandA
            Votes:
            991 Vote for this issue
            Watchers:
            377 Start watching this issue

              Created:
              Updated: