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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

In Automation for Jia, can I send an email where the recipient is in a text custom field?

We have some custom fields that have imported from our CRM that are lists of contacts we want to send emails to from Automation for Jira.

 

We don't want to create users for these emails in our Jira Cloud.

 

In automation for Jira, I can send an email, but it's either to a Static Email, or to a a field that is set as a User type.  We basically want the "Static" option, but we want to pull that from a custom field.

 

Is that possible?

2 answers

this is working in my jira instance

image.png

 

can you try something like 

issue.customfieldname

Hi Paul,

I'm Ilenice, from Automation for JIRA Support team.

Thanks for your question!

Well, this is possible through Automation for Jira. However, as your custom field will store a list of contacts instead of only one email address, it’s important to be aware that it will only work if you have the right field type combined with the right way of how data is placed on it.

To access your custom field, you would use the code below, as Alexander mentioned above:

{{issue.Your Custom Field Name}}

Please note that your custom field's values must have only email addresses; you cannot have on it extra information like users' names.

So, in the example below, I’ve created a “Text Field (single line)” field type. In this case, Automation will only correctly send the message if the email addresses are separated with commas into the field, without blank space between them. If you choose to use the same field type, you would have to treat these data before importing this to Jira:

 

19171_ExampleRule.png

19171_Issue.png

I hope it helps!

Let me know if there is anything else I can help with.

Cheers,

Ilenice

Suggest an answer

Log in or Sign up to answer
TAGS

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