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

Jira Automation lookup issues

Wing August 21, 2024

In Jira Automation, I used `{{lookupIssues.customfield_10001}}` to query and get the value `[652354565fvf56585cggh, 45628456ghkg55668ghh]`. I want to use Advanced Edit to apply this value to another multi-user custom field `customfield_10002`. How can I format this value in JSON to be `{"id": "652354565fvf56585cggh"}, {"id": "45628456ghkg55668ghh"}`?

2 answers

2 votes
Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 21, 2024

Hello @Wing 

Welcome to the Atlassian community.

When asking for help with an Automation Rule it will make it easier for us to help you if you show us screen images of your complete automation rule with details of each step.

Otherwise, refer to this documentation which includes an example:

https://support.atlassian.com/cloud-automation/docs/advanced-field-editing-using-json/#Multi-user-picker-custom-field

0 votes
Rick Westbrock
Contributor
August 26, 2024

My first thought is that you need to enclose the two values in square brackets (aka put them in a list) similar to how they were returned. I think that typically this is how multiple values are added to a field:

"customfield_10002": [{"id": "652354565fvf56585cggh"}, {"id": "45628456ghkg55668ghh"}]

 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events