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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,455,550
Community Members
 
Community Events
175
Community Groups

Maximum size of a lookupObjects request in Automation

Hi,

I type an AQL query in Assets : 

objectType IN objectTypeAndChildren("Assets") AND "End of warranty date" < now()

I see 718 results

I then create a scheduled Automation with the same query and I ask the Automation to send me an email with the results.

So the first part of the Automation is to search for objects in the same schema using the same query : objectType IN objectTypeAndChildren("Assets") AND "End of warranty date" < now()

Then send an email :

{{lookupObjects.size}}

{{#lookupObjects}}
* {{Name}} - {{"End of warranty date"}}
{{/}}

And the email I receive contains the number 100 to begin with and consequently I only see the first 100 assets listed.

Does the "lookupObjects" function in Automation has a limit of a 100 results ?

1 answer

1 accepted

5 votes
Answer accepted
Fabian Lim Community Leader Dec 05, 2022

Hi @Frederic Chartrand

That's correct.  Here is a feature request change: https://jira.atlassian.com/browse/JSDCLOUD-11414

I suggest you vote.

Thanks @Fabian Lim 


I voted for the feature request.

Like I said in comments in the ticket, since there's no reporting tool for Assets like we have for JSM, one of the easiest way to produce "reports" is to query objects in an Automation rule and pass the results in an email with the lookupObjects smart value ...

Let's hope this can be implemented soon.

Fabian Lim Community Leader Dec 05, 2022

I suggest you use a reporting tool such as EazyBI that has great integration with Insight.  You can then email the reports to people or share the link.  

https://docs.eazybi.com/eazybi/data-import/data-from-jira-apps/insight-asset-management

Like Ilze Leite-Apine likes this

Suggest an answer

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

Atlassian Community Events