Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Lookup objects "No objects found" but the query works outside the lookup function

Mariana Silveira Sales
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.
July 30, 2024

Hi, I have an asset custom field named "Reporter's Assets" that is visible on issue view and return the objects correctly. 

Screenshot at Jul 30 17-57-49.png

 

The filter scope of the "Report's Assets: Owner.User == ${reporter}

Screenshot at Jul 30 17-56-27.png

I want to create an automation to fill this field with all objects when the issue is created. 

I'm using Lookup Objects with the same AQL: Owner.User == ${reporter}

Screenshot at Jul 30 18-01-58.png

But I'm having the error "Lookup objects No objects found" which does not make sense to me, since in the issue view the field returns all objects correctly. 

Screenshot at Jul 30 18-02-30.png

I've tried a lot of other AQLs but the same error persists. I can't see what I'm doing wrong. 

1 answer

0 votes
Adolfo Casari
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.
July 30, 2024

@Mariana Silveira SalesI guess that with your Filter issue Scope definition you don't need any rule, upon issue creation the Reporter Asset(s) should be filled automatically with thos from the issue reporter.

I assume Reporter Asset(s) has an attribute Owner that reference another object type that has a attribute User that is type User.

Mariana Silveira Sales
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.
July 31, 2024

Hi @Adolfo Casari 
The field contains the correct objects from the issue reporter but it is showed as select list options in the field, so I can select or not.

I want that automation select all the objects for me, then the objects can be easily visualized in the issue view

Screenshot at Jul 31 14-43-21.pngScreenshot at Jul 31 14-43-32.pngScreenshot at Jul 31 14-44-06.png

Suggest an answer

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

Atlassian Community Events