Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-60454

API Endpoint Create user EXPERIMENTAL POST /rest/api/2/user Not avaliable

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Won't Do
    • None
    • Documentation - All
    • None
    • 1
    • We collect Jira feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    Description

      NOTE: This suggestion is for JIRA Server. Using JIRA Cloud? See the corresponding suggestion.

      Problem Definition

      API documentation Create User EXPERIMENTAL endpoint POST /rest/api/2/user applicationKeys option is not avaliable at this time:

      Notes JSON body content format as:

      {
          "name": "charlie",
          "password": "abracadabra",
          "emailAddress": "charlie@atlassian.com",
          "displayName": "Charlie of Atlassian",
          "applicationKeys": [
              "jira-core"
          ]
      }
      

      BUT using "applicationKeys" flag returns error:

      {
          "errorMessages": [
              "Application access permissions cannot be modified via REST in Cloud."
          ],
          "errors": {}
      }
      

      Suggested Solution

      For this to work you can currently run "notification" : "< true / false - whether to send notification to given email address or not>",

      {
          "name": "< USER NAME >",
          "password": "< USER PASSWORD >",
          "emailAddress": "< USER EMAIL >",
          "displayName": "< USER DISPLAY NAME >",
      	"notification": "false"
      }
      

      Attachments

        Issue Links

          Activity

            People

              mpaisley Mel Paisley
              emccutcheon Earl McCutcheon
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: