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

Creating new users using Crowd REST ignores <attributes> element

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Fixed
    • 2.9.1
    • REST
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      When a new user is created by posting to http://localhost:8095/crowd/rest/usermanagement/latest/user the new user is created without any of the attributes specified in the XML. For example:

      <user name="foo" expand="attributes">
            <first-name>foo</first-name>
            <last-name>foo</last-name>
            <display-name>foo foo</display-name>
            <email>foo@example.com</email>
            <active>true</active>
            <attributes>
            <attribute name="foo"><values><value>foo</value></values></attribute>
          </attributes>
            <password>
              <link rel="edit" href="/user/password?username=foo"></link><!--  -->
              <value>pyramid</value>
            </password>
          </user>
      

      It would be nice to be able to create a new user with attributes with a single REST call, without having to call /user/attributes separately.

              jevans@atlassian.com Jeremy Evans
              ekaukonen eero (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: