Hello. I am using Script Runner.
I am writing to ask you for a piece of advise.
My ultimate goal is issuing a subquery.
I am trying to implement a custom JQL function. It's going to be called
filterQuery().
It's supposed to take 1 argument - some JQL query and return issues.
It's use-case is in the following example:
issuetype = epic and issuekey in filteryQuery("project = MYPROJ")
But unfortunately, it's impossible to use own functions with 'issuekey in'. But, when used with the IN or NOT IN operators, issueKey supports:
issueHistory()
linkedIssues()
votedIssues()
watchedIssues()
So, can I expand that list of functions about with my own one using Script Runner?
Thanks a lot.