Background
We work in education and have an environment with multiple JSM projects (40+), covering around 5,000 staff members as customers. Each staff member has a supervisor. Normal team size is around 10-20 people which can change based on where they are located.
We have an asset database that is updated daily from our employee management system so that changes are automated. All of that is working great and as expected.
Problem
I want to be able to utilize this asset field in JQL. Specifically, I want to be able to search for all tickets assigned to subordinates of a supervisor.

Using JQL I can return the results if I hard code the names/emails. What I would like to be able to do is use the aqlFunction to return the result set back.

assignee in aqlFunction("Person.Supervisor = \"theSuperVisorsEmail@example.org\"")
Is this possible?


