Skip to content

Instantly share code, notes, and snippets.

@steveathon
Created April 14, 2018 20:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save steveathon/f377fbc06a22088a7d600208c75a43c9 to your computer and use it in GitHub Desktop.
Save steveathon/f377fbc06a22088a7d600208c75a43c9 to your computer and use it in GitHub Desktop.
#!/bin/bash
# Create the user against the host...
curl -X "POST" "https://myjirasetup.review/rest/api/2/user" \
-H 'Content-Type: application/json; charset=utf-8' \
-u 'username:password' \
-d $'{
"password": "super-secret-password",
"emailAddress": "username@myjirasetup.review",
"displayName": "Username of MyJiraSetup",
"name": "Username",
"applicationKeys": [
"jira-core"
]
}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment