Uploaded image for project: 'Admin Experience'
  1. Admin Experience
  2. AX-74

Create a new user via REST API disrespect product access setting for new UI

    • Severity 3 - Minor

      Issue Summary

      Create a new user via REST API disrespect product access setting for new UI

      Steps to Reproduce

      1. Have a site with new UI
      2. Go to User access settings > Any domain > Edit > Set to None
      3. Create a new user via https://developer.atlassian.com/cloud/jira/platform/rest/v2/api-group-users/#api-rest-api-2-user-post

      Expected Results

      User is created without product access

      Actual Results

      User is created with product access (ignoring the setting)

      Workaround

      Invite new manually via the UI

            [AX-74] Create a new user via REST API disrespect product access setting for new UI

            Chris Squire added a comment - - edited

            Hey all,

            There's been a change recently made to the v3 users API -> https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-users/#api-rest-api-3-user-post.
            If you specify the `products` array in your payload, the user won't be given access to default products.
            Furthermore this new field will become mandatory in October https://developer.atlassian.com/changelog/#CHANGE-916

            Im going to close this ticket out as there is a workaround currently to stop users gaining default product access by specifying the `products` field in the API payload.

            Chris Squire added a comment - - edited Hey all, There's been a change recently made to the v3 users API -> https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-users/#api-rest-api-3-user-post . If you specify the `products` array in your payload, the user won't be given access to default products. Furthermore this new field will become mandatory in October https://developer.atlassian.com/changelog/#CHANGE-916 Im going to close this ticket out as there is a workaround currently to stop users gaining default product access by specifying the `products` field in the API payload.

            +1

            Muhammad Fahad added a comment - +1

              Unassigned Unassigned
              rsaputra Adven
              Affected customers:
              9 This affects my team
              Watchers:
              27 Start watching this issue

                Created:
                Updated:
                Resolved: