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

JQL search for @mentions


    • 943
    • 47
    • 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. comment.png
          47 kB
        2. image-2017-02-01-10-56-02-870.png
          93 kB
        3. no_result.png
          9 kB
        4. screenshot-1.jpg
          16 kB

            1cfecba2ae80 Raj Kumar
            rmolenaar RoelandA
            986 Vote for this issue
            374 Start watching this issue