I have a complex board with epics, stories and subtasks. To simplify working I would like to have a quick filter that only shows the current swimlane with the selected story and it´s subtasks(optional) in the board, so that all other swimlanes disappear and only the current lane with its stories remain.
Is there any way to do this?
Welcome to the Atlassian Community!
The only way to do this would be to set up quick-filters that match each one of your swimlanes.
If you are doing swimlanes by Stories, Projects, Assignees, or Epics, then there is no concept of "current", so you can't create filters for it.
Some boards do have code that generates automatic quick-filters, which do this for "assignee", but you can't do that coding in JQL.
Thanks for your answer - I hoped that there is something like a var with the currently active Story ID that could be used.
Ok, I guess then writing your own JQL function e.g. in Scriptrunner would be the only way
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There's no way you can do that. The variables on issues do not include a dynamic "current" value, because there is no such thing. You can't write a function for it in Scriptrunner, because a function can't know what the settings of the board are.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.