Forums

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

Set request participants from asset array

Dominik Hebestreit
Contributor
September 16, 2025

Hi guys,

 

this is the first time I'm trying to do some stuff with asset & request participants. I saw a few "tutorials" or solution but my brain dosen't work right ;D 

 

Maybe you can help me guys here.

So I have an AQL Array with the needed people. The array contains the User E-Mail which I can simply map (in theory) and everything works. image.png

The field request participants does not allow me to enter the array.

image.png

I saw some solutions in the "additional field" stuff but i'm not sure how the solve that for my variable/array. 

 

Can someone give me a hint or a solution?

2 answers

0 votes
Marc - Devoteam
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 17, 2025

Hi @Dominik Hebestreit 

As @Matteo Vecchiato mentioned, what is the result of the lookup objects action, what information is retrieved.

As Request Participant is a user field, it can only process accountID(s) as value(s)

So add a log action to your rule to see what the variable ((lookupObjects}} contains.

What is the result?

 

0 votes
Matteo Vecchiato
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 16, 2025

Hi @Dominik Hebestreit

I suggest to check if in the array there are the user accounts IDs, and not the asset IDs.

Moreover please have a look into this article:https://support.atlassian.com/jira/kb/add-update-remove-request-participants-using-automation-in-jsm-cloud/ 

Regards 

Dominik Hebestreit
Contributor
September 17, 2025

Hi, I found my solution.

The lookupobjects contains the User attribute. This is the jira user.

 

My solution was to use this json in edit field:

{

  "fields": {

    "customfield_10026": [

      {{#lookupObjects}}

        { "id": "{{User}}" }{{^last}},{{/last}}

      {{/lookupObjects}}

    ]

  }

}

 

Thanks all!!!!

Like Marc - Devoteam likes this

Suggest an answer

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

Atlassian Community Events