AQL/IQL function to fetch the target project during Move Issue process

Hi,
We have an Assets custom field which configuration contains an Issue filter with a query on the current project (such as “Project = currentProject()”). This filters works fine most of the time, however it does not during the Move Issue process from one project to another; indeed, the currentProject() function returns the source project while we expected it to return the target project.
Is there a way to develop an AQL function similar to currentProject() which will return the target project in the context of a Move Issue process?
Thanks for your help.