How do I find issues linked to OKR in JQL?
Supported operations:
There are three main operators that can give you the right result “~“, “is null“, and “is NOT null“.
Supported properties:
OKRworkspaceKey – contains all the workspace keys of OKRs linked to a Jira issue.
OKRworkspaceName – contains all the workspace names of OKRs linked to a Jira issue.
OKRcycleTitle – contains all the cycle titles of OKRs linked to a Jira issue.
OKRparentId – contains all the IDs of Objective or Key Results linked to a Jira issue.
OKRparentLabel - contains all the Labels of Objective or Key Results linked to a Jira issue.
OKRparentTitle – contains all the titles of Objective or Key Results linked to a Jira issue.
OKRparentOwner – contains all the owners of all the Objectives or Key Results linked to a Jira issue.
OKRparentGroup – contains all the groups of all the Objectives or Key Results linked to a Jira issue.
OKRowner – contains all the owners of the LINK (check the picture below)
OKRgroup – contains all the assigned groups for the LINK (check the picture below)
OKRowner/OKR group is populated based on the data from a Link.
Examples:
Find all Jira issues linked to OKRs in the workspace ”Test (TE)”
OKRWorkspaceKey ~ "TE"
OKRWorkspaceName ~ "Test"
Find all Jira issues linked to OKRs in the workspace ”Test (TE)” and without the Owner of the parent OKR.
OKRWorkspaceKey ~ "TE" and OKRparentOwner is null