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.
The field request participants does not allow me to enter the array.
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?
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?
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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!!!!
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.