Uploaded image for project: 'Jira Cloud'
  1. Jira Cloud
  2. JRACLOUD-60454

API Endpoint Create user EXPERIMENTAL POST /rest/api/2/user: applicationKeys not available in Cloud

    XMLWordPrintable

Details

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

    Description

      NOTE: This suggestion is for JIRA Cloud. Using JIRA Server? 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

              Unassigned Unassigned
              emccutcheon Earl McCutcheon
              Votes:
              7 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: