Uploaded image for project: 'Identity'
  1. Identity
  2. ID-8350

Adding members to the team returns an error "We can't add a user, They may not have access to teams in your organization." for some sites

    • 13
    • Severity 3 - Minor
    • Jira Software, Jira Service Management, Jira Work Management

      Issue Summary

      Adding members to the team returns an error "We can't add a user, They may not have access to teams in your organization" for some sites

      Steps to Reproduce

      1. Create a Team with just yourself as a member
      2. After creating the team, try to add members who are not org-admin but have access to at least one product on the site 

      Expected Results

      Able to add users with access to at least one product on the site

      Actual Results

      The operation fails with the error:

      {
          "members": [],
          "errors": [
              {
                  "accountId": "XXXXXXX",
                  "code": "ADD_MEMBER_FAILED",
                  "message": "We encountered an error trying to add some members to the team. Please check developer documentation."
              }
          ]
      } 

      Workaround

      The org admins can be added without any issues.
      Try granting Browse users and group permission to the user who is getting added to the team.This error can also happen due to scenarios discussed here https://support.atlassian.com/atlassian-account/docs/visibility-of-atlassian-teams-information/
      However in this case the site is set to with approval. Manually providing product access to a user also results in the same error 
      Note: The above steps shared may or maynot work as we see inconsistent behavior for the same configuration.

          Form Name

            [ID-8350] Adding members to the team returns an error "We can't add a user, They may not have access to teams in your organization." for some sites

            Pinned comments

            Pinned by Atiqah Roslan

            Elly added a comment -

            Hello, I am Elly from the engineering team, thankyou for reporting the issue to us.

            I have been through all related reports and all the errors relating to being unable to add members to teams is due to `browse users and groups` being false for the failing users. Users need product access and relevant permissions configured correctly, with enough time for the cache to be updated.

            Users without "browse user permissions" are denied access to the teams (and users) of the organisation in order to prevent that data to be leaked to users who should not see the other teams (and users) of the organisation.

            The system appears to be working correctly and therefore this is not a bug. 
            Please raise further tickets if you need a deeper investigation on a case by case basis.

            Elly added a comment - Hello, I am Elly from the engineering team, thankyou for reporting the issue to us. I have been through all related reports and all the errors relating to being unable to add members to teams is due to `browse users and groups` being false for the failing users. Users need product access and relevant permissions configured correctly, with enough time for the cache to be updated. Users without "browse user permissions" are denied access to the teams (and users) of the organisation in order to prevent that data to be leaked to users who should not see the other teams (and users) of the organisation. The system appears to be working correctly and therefore this is not a bug.  Please raise further tickets if you need a deeper investigation on a case by case basis.

            All comments

            Calvin added a comment -
            Try granting Browse users and group permission to the user who is getting added to the team.

            In addition to the above, I found I was still receiving an error after providing the user with the correct permissions. Turns out even as a Site admin to the system, I was only set as a user on the Ops Team. So had to update my account to admin within the Team to add the user and not get the error.

            Calvin added a comment - Try granting Browse users and group  permission to the user who is getting added to the team. In addition to the above, I found I was still receiving an error after providing the user with the correct permissions. Turns out even as a Site admin to the system, I was only set as a user on the Ops Team. So had to update my account to admin within the Team to add the user and not get the error.

            Pinned by Atiqah Roslan

            Elly added a comment -

            Hello, I am Elly from the engineering team, thankyou for reporting the issue to us.

            I have been through all related reports and all the errors relating to being unable to add members to teams is due to `browse users and groups` being false for the failing users. Users need product access and relevant permissions configured correctly, with enough time for the cache to be updated.

            Users without "browse user permissions" are denied access to the teams (and users) of the organisation in order to prevent that data to be leaked to users who should not see the other teams (and users) of the organisation.

            The system appears to be working correctly and therefore this is not a bug. 
            Please raise further tickets if you need a deeper investigation on a case by case basis.

            Elly added a comment - Hello, I am Elly from the engineering team, thankyou for reporting the issue to us. I have been through all related reports and all the errors relating to being unable to add members to teams is due to `browse users and groups` being false for the failing users. Users need product access and relevant permissions configured correctly, with enough time for the cache to be updated. Users without "browse user permissions" are denied access to the teams (and users) of the organisation in order to prevent that data to be leaked to users who should not see the other teams (and users) of the organisation. The system appears to be working correctly and therefore this is not a bug.  Please raise further tickets if you need a deeper investigation on a case by case basis.

            Elly added a comment -

            Hello, I am Elly from the engineering team, thankyou for reporting the issue to us.

            I have been through all related reports and all the errors relating to being unable to add members to teams is due to `browse users and groups` being false for the failing users. Users need product access and relevant permissions configured correctly, with enough time for the cache to be updated.

            Users without "browse user permissions" are denied access to the teams (and users) of the organisation in order to prevent that data to be leaked to users who should not see the other teams (and users) of the organisation.

            The system appears to be working correctly and therefore this is not a bug. 
            Please raise further tickets if you need a deeper investigation on a case by case basis.

            Elly added a comment - Hello, I am Elly from the engineering team, thankyou for reporting the issue to us. I have been through all related reports and all the errors relating to being unable to add members to teams is due to `browse users and groups` being false for the failing users. Users need product access and relevant permissions configured correctly, with enough time for the cache to be updated. Users without "browse user permissions" are denied access to the teams (and users) of the organisation in order to prevent that data to be leaked to users who should not see the other teams (and users) of the organisation. The system appears to be working correctly and therefore this is not a bug.  Please raise further tickets if you need a deeper investigation on a case by case basis.

              4f0f02461ede Elly
              skahol Swati Kahol
              Affected customers:
              9 This affects my team
              Watchers:
              28 Start watching this issue

                Created:
                Updated:
                Resolved: