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?
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:
I hope it helps!
Let me know if there is anything else I can help with.
Cheers,
Ilenice
this is working in my jira instance
can you try something like
issue.customfieldname
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.