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

Creating new users using Crowd REST ignores <attributes> element

    • 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.

            [CWD-2923] Creating new users using Crowd REST ignores <attributes> element

            Katherine Yabut made changes -
            Workflow Original: JAC Suggestion Workflow [ 3388456 ] New: JAC Suggestion Workflow 3 [ 3630472 ]
            Status Original: RESOLVED [ 5 ] New: Closed [ 6 ]
            Monique Khairuliana (Inactive) made changes -
            Workflow Original: Simplified Crowd Development Workflow v2 [ 1392583 ] New: JAC Suggestion Workflow [ 3388456 ]
            Issue Type Original: Improvement [ 4 ] New: Suggestion [ 10000 ]
            Owen made changes -
            Workflow Original: Crowd Development Workflow v2 [ 404950 ] New: Simplified Crowd Development Workflow v2 [ 1392583 ]
            joe made changes -
            Assignee New: Jeremy Evans [ jevans@atlassian.com ]
            joe made changes -
            Fix Version/s New: 2.9 [ 46094 ]
            Jeremy Evans made changes -
            Resolution New: Fixed [ 1 ]
            Status Original: Open [ 1 ] New: Resolved [ 5 ]
            David Nicholson (Inactive) made changes -
            Link New: This issue relates to AOD-7545 [ AOD-7545 ]
            Justin Koke made changes -
            Rank New: Ranked higher
            Anund made changes -
            Remote Link New: This issue links to "Page (Extranet)" [ 78334 ]
            Justin Koke [Administrative Account] made changes -
            Story Points Original: 2 New: 0

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

                Created:
                Updated:
                Resolved: