Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Cannot create issue due to scripted post function

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

1 answer

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)




Hello Neta,

This resolved by itself, sadly I have no way to understand how it has been resolved... But thanks!

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Jira Service Management

Jira Service Management Documentation Opportunities

Hello everyone, Hope everyone is safe! A few months ago we posted an article sharing all the new articles and documentation that we, the AMER Jira Service Management team created. As mentioned ...

225 views 0 6
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you