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

LookupObjects: get an object from the list using a custom field value

Nicole Ahlborn November 14, 2022

Hi Community,

I am trying to get a specific object (the Name of an object) using the LookupObjects function. The information, which object (number of the entry in the LookUpList) I need is in a CustomField. Does anyone know how I can get this specific object from the list using a Custom Field value?

I have tried the following, which unfortunately does not work.

{{lookupObjects.get({{customfield_10066.asNumber}}).Name}}

Thanks in advance

Nicole

1 answer

0 votes
Krister Broman _Advania_
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.
November 18, 2022

You should check these references: 

https://support.atlassian.com/cloud-automation/docs/jira-automation-actions/#Lookup-objects

https://support.atlassian.com/cloud-automation/docs/jira-smart-values-insight/

First you do the lookup which just guessing could be something like. 

Name = {{issue.fields.customfield_10066.asNumber}}

Then you can use the data that is now stored in the lookup elsewhere 

{{lookupObjects.Name}}

Suggest an answer

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

Atlassian Community Events