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

Sudden error when using custom field as email address

Edited

Hi,

We've got an Automation rule which saves the email address of a customer to a custom field upon using our online form. This part works fine.

The part which is giving an error is when we want to use this email address to create a new customer. The point of this step is to be able to send the customer an email when our agent has responded to their request. This Automation has been running smoothly for over a year, but now we get an error every time it runs. I'm unable to detect what's creating this error. Please help.

The relevant steps of our Automation:
1.PNG

Basically it goes

  1. save certain part of e-mail text as customer name in custom field 10042
  2. save certain part of e-mail text as customer email address is custom field 10046
  3. change channel to 'web form'
  4. refresh issue data
  5. create new customer using both custom fields mentioned above

Step 5 is where the error occurs. Below the details of this step.

2.PNG

As said these settings have been working for over a year, up until a few days ago.

The log says this:

3.PNG

Which translates to: "Error while creating new customer: The request is invalid. Check if your request contains all the necessary parameters and if these are valid. (email: you have to use a valid email address)"

I have checked the contents of the field and it just contains the email address as intented, nothing less, nothing more.

Thank you for your help.

2 answers

1 vote
avo Atlassian Team Apr 22, 2021

Hey @Dax Tulpenventer I'd suggest reaching out to support to get this fixed as this one looks quite gnarly: https://getsupport.atlassian.com/

Suggesting this as the rule was working previously.

Another thing to consider is if any of the custom fields you're using have changed recently.

Thank you Avo, I will.

0 votes
Darryl Lee Community Leader Apr 19, 2021

Hi, can you try adding a "Log action" action to the rule that includes {{customfield_10046}} to validate what the Automation rules engine thinks is getting sent?

Hello Darryl,

Thank you for responding.

I have added a log action for {{customfield_10046}} and it gives me the email address I used in our contact form. No extra spaces or anything like that.

Component
Customer email: {{customfield_10046}}

Log
Customer email: test@test.test

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Apps & Integrations

Send an Email or Publish to Confluence - What should you do with your release notes?

Background When you hear the words ‘Release notes’, almost always you think of an unsolicited email from a software vendor. But I am here to tell you that from our data, sending release notes via E...

21 views 0 1
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