Redirect -> https://github.com/iokiwi/jsd-bulk-customer-upload
-
-
Save iokiwi/25f7b5525e8bb542dc44ac1fa02918ef to your computer and use it in GitHub Desktop.
as a followup, i was able to successfully use the curl method discussed at https://developer.atlassian.com/cloud/jira/service-desk/rest/#api-customer-post
curl --request POST \
--url 'https://XXX.atlassian.net/rest/servicedeskapi/customer' \
--user 'XXX@XXX.com.au:GXXXXXXXXXXXXXXX1' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"email": "fred@example.com",
"displayName": "Fred F. User"
}'
which leads me to believe it's not actually problem with signups. not sure.
Jesus, how do I get notifcations for this thing. Sorry @hooliowobbits :(. Did you get it sorted? Happy to help if not
Guys, I'm gonna move this over here and might do some cleanup https://github.com/iokiwi/jsd-bulk-customer-upload
Your new script at https://github.com/iokiwi/jsd-bulk-customer-upload worked flawlessly out of the box for my company. Thank you!
Thanks a lot for the script. I can create customers and organizations but after that I cant add customers within organizations.
I get this error
{"errorMessage":"This request is invalid. The following users could not be found: xxx@xxx.com","i18nErrorMessage":{"i18nKey":"sd.rest.error.bad.request.users.not.found","parameters":[" xxx@xxx.com"]}}
Can you please help with this error?
Welcome @deskenazi @sks321 did you have any luck with that error? I can try debug that for you, where did this error occur, can you send me some logs?
This script has moved
Redirect -> https://github.com/iokiwi/jsd-bulk-customer-upload
Hi mate, thx for your efforts, it's very much appreciated. i am currently facing the following error, not sure what to do:
2018-09-20 14:58:27,436 - INFO - Initializing session
2018-09-20 14:58:29,006 - ERROR - {"errorMessage":"Signup is not currently available","i18nErrorMessage":{"i18nKey":"cv.signup.error.not.allowed","parameters":[]}}
customers are able to email our service desk cloud instance and get the automatic account ok, and manual signup seems to work to, although it requires email address verification. not sure where the issue is? i expect that is then causing the next error:
2018-09-20 14:58:30,234 - ERROR - {"errorMessage":"This request is invalid. The following users could not be found: xxx@xxx.org.au.","i18nErrorMessage":{"i18nKey":"sd.rest.error.bad.request.users.not.found","parameters":[" xxx@xxx.org.au"]}}
2018-09-20 14:58:30,234 - INFO - The following rows not processed