Forums

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

Error when using the Filter issue scope (AQL) in a customfield.

Ste404
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.
September 19, 2023

Hi there,

I am making an Assets custom field that is going to just list objects filtered by a custom field on a form.

I have this line in the Filter issue scope (AQL)

"Owner" = ${customfield_10143}

Owner is a USER attribute type in Assets

customfield_10143 is a single user select field.

I am getting this error all the time

"The AQL query contains one or more placeholder custom field IDs that are invalid or not Assets object fields."

When I put the } in place.  There is a green tick right up to that point?

what am I doing wrong with this one?

2 answers

1 accepted

2 votes
Answer accepted
Ste404
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.
September 19, 2023

Decided to wipe that AQL completely and just populate the field from an automation.

 

Nothing to see here, move along :)

0 votes
Vittoria Oliva
Contributor
March 27, 2024

Hi @Ste404 

 

please try it:

"Owner" = $customfield_10143.label 

 

It seems work fine.

 

BR,

Vittoria

Axel SAMYN
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 7, 2025

The syntax may be correct but I don't think that the AQL will work. I just tried to replace ${customfield_xxxxx} with $customfield_xxxxx and that broke my asset field.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events