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

Mentions on the new issue view are not being correctly tokenized

    XMLWordPrintable

Details

    Description

      Description:

      Jira creates tokens that are used for searching purposes. This way, whenever searching for key words, Jira is able to retrieve the desired results.

      Tokens are created after the comment's content. When mentioning a user in the old issue view, Jira is able to create tokens for the user identifier. In the new issue view, however, this does not work as expected.

      Below, an example of how this works in the old issue view:

      • Example of comment

        [~<username>] test

      Resulting tokens:

      • '<username>' 'test'

      However, when the same comment is added in the new issue view, Jira creates the following tokens:

      • 'test' 'unknown'

      Steps to reproduce:

      1. Create a comment mentioning your own user using the new issue view
      2. Run the following JQL search to retrieve issues with comments where your user was mentioned
      • comment ~ currentUser()

      We created a video reproducing this problem: comment.mp4

      Expected results:

      • JQL search will return all issues where the user was mentioned

      Actual results:

      • Jira will not retrieve issues with mentions that were created using the new issue view
      • Jira will still retrieve issues with mentions that were created using the old issue view

      Workaround

      • Create comment using the old issue view.

      Attachments

        1. comment.mp4
          3.78 MB
        2. comment-current-user.gif
          comment-current-user.gif
          357 kB

        Issue Links

          Activity

            People

              Unassigned Unassigned
              chughini Carlos Ughini
              Votes:
              117 Vote for this issue
              Watchers:
              51 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: