Hello,
How do I access once of the custom fields from the first item in a lookupissues object that I have in my automation rule?
Thanks
Hi!
Do I understand you want a custom fields from the frist issue returned by the lookupIssues automation action?
If so, lookupIssues is a list, so all actions on a list, you can do here:
{{lookupIssues.first}}
This will give you the first issue in the list. To access the customfields you can continue using the dot-notation, eg:
{{lookupIssues.first.summary}}
You will find more info about SmartValues here:
https://support.atlassian.com/cloud-automation/docs/jira-smart-values-lists/#list.first
Hope this helps!
I can think of couple of ways:
- {{lookupIssues.customfield_10XXX.first}}
- {{#lookupIssues}}{{#first}}{{customfield_10XXX}}{{/}}{{/}}
Log both entries to see your output and let us know if issues.
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.