Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

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

0 votes
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.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Automation

Announcing the Jira automation template library!

Hi all,  After many months of work, I am delighted to announce the launch of the Jira Automation Template Library!  The Template Library is a new website dedicated to all things Jira au...

1,106 views 19 26
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