Hi,
I'm having issues while trying to create a quick filter for a board that would use `assignee = currentUser()` in ScriptRunner functions using JIRA Cloud.
The simplest possible way to reproduce the issue:
1. Create the following ScriptRunner function using an administrator account and save it. This function is supposed to show any issues that are parents of the currently logged in user.
`issueFunction in parentsOf("assignee = currentUser()")`
2. Create a quick filter for a board as `filter = myFilter`
This filter correctly returns parent issues for the administrator. However, for other accounts it still returns the parent issues for the same administrator instead of their own parent issues.
In another test, simple `assignee = currentUser()` ScriptRunner filter works fine in the same scenario.
Does it mean that there is a bug preventing `currentUser()` from being evaluated correctly when being nested in a ScriptRunner function?
Is there another way to achieve the same result?
Thanks