Uploaded image for project: 'SR for Jira - Development'
  1. SR for Jira - Development
  2. SRJIRA-2184

Comment group-based JQL predicates need to search on userKey, not userName

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Done
    • High
    • Resolution: Fixed
    • 4.1.3.24, 4.3.17
    • 5.0.11
    • JQL Functions
    • None
    • Sprint 28 - Ends Apr 19, Sprint 29 - Ends 10 May, Sprint 30 - Ends June 20, Sprint 31 - Ends June 27
    • 0.7

    Description

      The JQL functions lastComment and commented currently search the Lucene index by means of a username. For many JIRA instances, where username and user key are identical, this is fine.

      However, for instances where the user key differs from the username, this can return incorrect results for role and group-based queries.

      This should be fixable using the getUsersInGroup method, which would also support nested groups.

      Attachments

        Activity

          People

            tbatagiannis Thanos Batagiannis
            jcarter Jonny Carter
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: