We use an add on called OBoard (OKR Board for Jira - OKR management plugin for Jira (Objectives and Key results) (oboard.io)) and for our boards we filter the swimlanes according to different KRs. So the filter is
okrparentid ~ "XX-KR-123" (contains all the IDs of Objective or Key Results linked to a Jira issue.)
But the sub-tasks are not being filtered as they don't have a direct link to the Key Result. Is there any possibility to filter for them as well? We also have the possibility to use aggrregates JQL Search but I just don't know how to write the JQL.