Hi
is it possible to bulk enter a list of "customers" into the system?
Dear @Andy Daunt ,
read my article. Its written to create loads of users from a CSV file, but for Jira. The solution is similar to your requirement. You have to change following to make it work for JSM Cloud:
replace
CURLOPT_URL => JIRA_URL . '/rest/api/latest/user',
with
CURLOPT_URL => JIRA_URL . '/rest/servicedeskapi/customer',
and replace
$request = '{"name":"'.$uname.'","password":"'.$upass.'","emailAddress":"'.$uemail.'","displayName":"'.$udname.'","applicationKeys":["jira-software"]}';
with
$request = '{"displayName": "' . $udname . '", "email": "'. $uemail . '"}';
As 'user' you will take your email address, for 'pass' take the API token. You can create your own here: https://id.atlassian.com/manage-profile/security/api-tokens
So long
Thomas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.