Hello everyone!
The automation generates a report on laptops by stock, sending it to email as an HTML table. I need to sort it by start date. But the start date is an object in a different asset schema - employee. An object from the Employee schema to whom the laptop was issued. The employee schema has an attribute called Start Date. I want to organize it by that.
AQL query
objectType = Laptops AND "Asset Status" IN ("In Use", "In Stock") AND Stock = "{{userInputs.Stock}}" order by Assignee."Start Date" DESCSorting doesn't work
You need to use the reference name of the attribute where you access the data from the other schema
See documentation on AQL, https://support.atlassian.com/assets/docs/use-assets-query-language-aql/#Ordering
I think that's what I do
Hardware scheme
Employee scheme
The Assignee attribute in the equipment schema is linked to the employee object. Accordingly, Assignee.Start Date
Or did I miss something?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I think this should be Employees."Start Date" or Employee.Start Date
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.