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,465,353
Community Members
 
Community Events
176
Community Groups

Filtering on assets in custom fields

Hi!

I am trying to create a custom field on an issue to find available computers in stock assigned to the business unit in scope for the issue.

When the issue is created, an employee record is assigned in a custom field. This record includes among others a "Business Unit" object. When the agent then needs to find assets in stock to help resolve the request, the custom assets field should filter for computers in stock AND computers which has the appropriate business unit object referenced.

However it doesn't work. Can any of you see what I'v done wrong? (the custom field referenced below is the record for the employee)

Filter scope (AQL): objectType = Computers AND "Status" = "In Stock"

Filter issue scope (AQL): "Business Unit" = ${customfield_10066."Business Unit"}

1 answer

Hi,

You need to remove quotation marks from Business Unit.

I write the correct AQL:

"Business Unit" = ${customfield_10066.Business Unit}

Br, Mario

I have a similar scenario but its not working for me in Cloud :(

 

This AQL Scope Filter is not working for me :(

"Tracker Type" = ${customfield_10051.Tracker Type}

 

customfield_10051 is an assets object custom field and has the "Tracker Type" Attribute.

I want to filter another object type by customfield_10051 Tracker Type.

 

Does It work for you Frederic?

 

Hi @gov_admin 

 

In AQL scope you need to define which object type. example if you have custom field 10051 which has value and you need to populate custom field 10051 then you need to write AQL in custom field 10051 example AQL:

objectType = Computers AND "Tracker Type" = ${customfield_10051.Tracker Type}

or

objectType = Computers AND "Tracker Type" = ${customfield_10051.Tracker Type.Name} If your Tracker Type atrbut type object.

I send picture in attachment.

 

AutomationLog.jpgBr, Mario

Suggest an answer

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

Atlassian Community Events