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

    • Type: Bug
    • Status: Done
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: 4.1.3.24, 4.3.17
    • Fix Version/s: 5.0.11
    • Component/s: JQL Functions
    • Labels:
      None
    • Sprint:
      Sprint 28 - Ends Apr 19, Sprint 29 - Ends 10 May, Sprint 30 - Ends June 20, Sprint 31 - Ends June 27
    • Critical Points:
      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

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

              Dates

              Created:
              Updated:
              Resolved: