User Picker does not return any new user if any other users have been picked

XMLWordPrintable

    • 8.05
    • 3
    • Severity 3 - Minor
    • 0

      Issue Summary

      User Picker custom field returns No Matches for the users. This happens when the user picker has the project context, not a global context. It's happened because the REST request does not contain projectId.

      Environment

      • The user picker Custom Fields has the project context

      Steps to Reproduce

      1. Create the project - P1,
      2. Create two users with similar user name - cos, cos2,
      3. Create the User Picker custom field - daj - with P1 project context,
      4. Open a simple search,
      5. Choose the project P1,
      6. Add daj custom field,
      7. Open daj user picker dialog and search for the user cos  and pick him,
      8. Close daj user picker dialog for instance by clicking somewhere else on the page,
      9. Open daj user picker dialog one more time and search for the user cos2.

      Expected Results

      http://localhost:8080/rest/api/latest/groupuserpicker?projectId=10000&fieldId=customfield_10200&showAvatar=true&query=cos&_=1584541558570

      Actual Results

      http://localhost:8080/rest/api/latest/groupuserpicker?fieldId=customfield_10200&showAvatar=true&query=cos&_=1584541558577

      Workaround

      Change custom field context to global

              Assignee:
              Unassigned
              Reporter:
              Stasiu (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: