In Asset I have the Object Type= Kontaktpersonen. The Attribute "Project Key" is set with type "Project".
I have a Custom Field Type Asset Object. I want, that in that custom field only objects are shown, which are from the same project as I am working in right now. How can I write the Filter Scope AQL?
Hi Tiziana,
Thanks for your question on community.
You've been using {{project.key}} in AQL, but please note that this smart value is specific to Automation and cannot be used directly in AQL queries. To filter Kontaktpersonen based on the project, you need to set up your filter scope and filter issue scope appropriately.
Recommended Steps -
1. Filter Scope:
ObjectType = "Kontaktpersonen"
2. Filter Issue Scope:
"Project Name" = ${project.label}
"Project Key" = ${customfield_10xxx}
(Make sure to replace customfield_10xxx with the actual ID of your custom field.)
Further reading -
Hope the above information is helpful.
Regards,
Anusha A
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.