Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Add multiple approvers with emails from custom field on jira automation

jesus_gutierrez
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 4, 2025

Hello everyone,

First of all, thanks for taking the time to read this.

I have an automation where i search some assets that have Email as Attribute and some objects can have more than 1 email but separated by a comma.

My variable {{lookupObjects.Mail}} returns the emails like this:
email1@test.com, email2@test.com, email3@test.com

how can I iterate over those emails and add them as approvers? on the same issue

 

i tried multiple things but still cannot make it

1 answer

0 votes
Marc -Devoteam-
Community Champion
December 5, 2025

Hi @jesus_gutierrez 

Welcome to the community.

You should advanced branch over the variable and in the branch do an advanced edit

The advanced branch will turn into a smart value to be used in the branch*

Then an edit action and then in the advanced option:

{
"update" : {
"Approvers" : [
{
"add" : { "id" : "{{smart value from advanced branch*}}" }
      }
    ]
  }
}

jesus_gutierrez
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 5, 2025

Hello Marc,


First, thanks for taking the time for reading and answering!

I have tried this, but it gives me this error:


"(Specify a valid value for customfield_10003 (customfield_10003))"

You can see my rule in the images.
The customfield_19348 is named "approversMail"
I copy the value from {{lookupObjects.Mail}} to that customfield in a subtask when creating it with info from their parent.branch.pngcustomfield.pngrule.png

On the advanced editing, should I use email or mail insead of "id"?

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events