Created
April 14, 2018 20:08
-
-
Save steveathon/f377fbc06a22088a7d600208c75a43c9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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