Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Cannot create issue due to scripted post function

Hello
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.

Says:
"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
Constance

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)

 

Thanks.

Neta

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
TAGS
Community showcase
Published in Apps & Integrations

🍂📹 Apptoberfest demo contest roundup: vote for your favorite demos!

Hi Community! The submissions are in (and listed below) for the 🍻🍂Apptoberfest🍂🍻 Demo Competition and it’s time for you to place your votes for the best: Analytics & reporting app demo ...

77 views 2 11
Read article

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