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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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
4,560,621
Community Members
 
Community Events
185
Community Groups

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
Atlassian Team members are employees working across the company in a wide variety of roles.
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
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
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
AUG Leaders

Atlassian Community Events