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

XMLWordPrintable

    • Type: Suggestion
    • Resolution: Won't Do
    • None
    • Component/s: Documentation - All
    • None
    • 1

      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"
      }
      

            Assignee:
            Mel Paisley
            Reporter:
            Earl McCutcheon
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: