Uploaded image for project: 'Crowd Data Center'
  1. Crowd Data Center
  2. CWD-2673

Crowd 2.2 Rest API resource /user/mail/usernames?email=EMAIL always returns 204 status

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Low Low
    • 2.5
    • 2.2.3
    • Plugins
    • None

      Hello, I'm developing an app that talks to crowd 2.2.2 rest api. I noticed that a post to the following rest api resource returns 204 regardless of whether the email is found in the system:

      /rest/usermanagement/latest/user/mail/usernames?email=valid_email => returns 204
      /rest/usermanagement/latest/user/mail/usernames?email=invalid_email => returns 204, but should return 404 according to the documentation here: https://developer.atlassian.com/display/CROWDDEV/Crowd+REST+Resources.

      I'm sure this is extremely low priority, and I can work around by first searching for the email to see if I get any search results. But just wanted to let you all know about the minor bug.

      Thanks!

      • Dave

          Form Name

            [CWD-2673] Crowd 2.2 Rest API resource /user/mail/usernames?email=EMAIL always returns 204 status

            Monique Khairuliana (Inactive) made changes -
            Workflow Original: Simplified Crowd Development Workflow v2 - restricted [ 1508621 ] New: JAC Bug Workflow v3 [ 3364180 ]
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            Owen made changes -
            Workflow Original: Simplified Crowd Development Workflow v2 [ 1389655 ] New: Simplified Crowd Development Workflow v2 - restricted [ 1508621 ]
            Owen made changes -
            Workflow Original: Crowd Development Workflow v2 [ 345903 ] New: Simplified Crowd Development Workflow v2 [ 1389655 ]
            joe made changes -
            Resolution New: Fixed [ 1 ]
            Status Original: Technical Review [ 10028 ] New: Resolved [ 5 ]
            joe made changes -
            Status Original: In Progress [ 3 ] New: Technical Review [ 10028 ]
            joe made changes -
            Status Original: Open [ 1 ] New: In Progress [ 3 ]
            joe made changes -
            Fix Version/s New: 2.5 [ 22894 ]
            Assignee New: joe [ jwalton ]
            Dave Paroulek created issue -

              jwalton joe
              7d6c94105dd1 Dave Paroulek
              Affected customers:
              0 This affects my team
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: