Is there an existing issue for this?
Current Behavior
In the Query Library, the “Run JavaScript” query can access the application context after being imported into an app. For example, return currentUser.email works correctly. However, for a “REST Query”, even though {{currentUser.email}} is set, it fails to retrieve the value after the app is imported.
Expected Behavior
The context that should be obtained, such as global variables.
Steps to reproduce
In the Query Library, create a “REST Query” with {{currentUser.email}} in its parameters. Then, create a “Run JavaScript” query with the code return currentUser.email.
After importing both queries into an application:
The “Run JavaScript” query correctly outputs the currentUser.email.
The “REST Query” fails to retrieve the value for currentUser.email.
Environment
docker image:all in one
system: debian 12
Additional Information
No response