I want to see all tasks that are linked to a story, a the subtasks of those tasks. (hope that makes sense)
I have tried:
project = X AND issue in linkedissues(X-1795) AND issueFunction in subtasksOf(X-5315, X-5423)
But ScriptRunner doesn't like this and I can't see why, its probably something simple.... long day! is this even possible?