User email API returns 404 when the user is unlicensed or does not have the required roles to the product.

XMLWordPrintable

      Issue Summary

      User email API does not return email when the user is unlicensed or does not have the required roles to the product.

      Steps to Reproduce

      1. Remove access for a specific user to Jira/confluence. (Or User has been invited for the product but not yet signed up using the invite link)
      2. Try fetching the email (through get user email API or bulk get user email API) for the same user from the product they have been removed.
      3. Verify the API response.

      Expected Results

      The API should return the user email irrespective of the User status.

      Actual Results

      The API returns 404. This behaviour is also true even when the user is not yet signed up for the product and invite has been sent.

      Workaround

      NA

            Assignee:
            Unassigned
            Reporter:
            Veeresh Hosamani
            Votes:
            3 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: