Forums

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

Filter Issue Scope (AQL) reference other object

Paul O'Shaughnessy
Contributor
January 30, 2025

Here's my use case

  • I have software services in an object (called 'Service') with an attribute for 'Owner' which represents the team which owns the service.  This attribute is populated with a team from a 'Team' object
  • The team object includes an attribute for the team's Jira Project ('Project')
  • I have a custom assets field which lists services (and works fine)
  • I would like the list of services to only show relevant services for each team when the using the field in the team project

I have tried using the filter scope aql to no avail.

"Owner.Project" LIKE ${project.label}

or

"Owner.Project" = ${project.label}

 

I'm guessing the dot notation is the issue here. I can use Owner.Project fine when using JQL and something like: 

service in aqlFunction("Owner.Project = xxx")

Can I use the attribute of a linked object in this way to filter issue scope?

1 answer

0 votes
Luka Mack
Contributor
February 7, 2025

Hi @Paul O_Shaughnessy

 

Please see "Reference functions" in this article.

https://support.atlassian.com/jira-service-management-cloud/docs/use-assets-query-language-aql/

Hope it helps.

 

Best regards,

Luka

 

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