You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
I have written a script to auto-create a ServiceDesk customer on issue creation (as I cant create a Jira user).
It takes the E-Mail from a custom field and the full name from the summary, then it checks if the user exists and if not, it will create it. This part works by itself, on the console and on the post-function.
Now I add the part where I assign this new customer to the current issue.
I search the user by email from email custom field and return the user "name" which is then used to set the reporter.
This works on the script console but whichever workflow post-function I attach it to, it just won't let me create a new issue with an existing customer.
"We can't create this issue for you right now, it could be due to unsupported content you've entered into one or more of the issue fields. If this situation persists, contact your administrator as they'll be able to access more specific information in the log file."
And of course on Cloud I cant access the log file!
Thanks in advance for your help
Can you send the code -> that you create the ticket in service desk with the customer as the reporter and the part you try to take existing customer?
Also, after you add the jira user as service desk customer do you add him to the service desk project as a customer ? (please note that there is a difference between them -> adding customer and adding a customer to the service desk project)