---
title: "Find issues connected to OKRs with JQL in Jira"
canonical: "https://support.appfire.com/space/OFJ/603653180/Find%20issues%20connected%20to%20OKRs%20with%20JQL%20in%20Jira"
format: markdown
---
> Macro (aura-html)

> ℹ️ This page is about **OKR for Jira Cloud**. Using** Data Center**? **[Click here](https://appfire.atlassian.net/wiki/spaces/OFJ/pages/603652538)**.

If you want to find issues associated with your OKRs for bulk updates or analysis, you can use JQL (Jira Query Language) to search for issues connected to either a specific Key Result or to all KRs under a specific Objective.

Visit the [https://appfire.atlassian.net/wiki/spaces/OFJ/pages/603652707](https://appfire.atlassian.net/wiki/spaces/OFJ/pages/603652707) page to learn about linking Jira work items to Key Results.

## JQL search in Jira

To use JQL search to find linked issues (Jira work items) to specific OKRs:

1. Select **Search** in the top navigation (or press `/` on your keyboard). Alternatively, select **Filters** in the [sidebar.](https://support.atlassian.com/jira-software-cloud/docs/new-jira-cloud-navigation/#The-navigation-bar)
2. Select **View all work items** at the bottom of the dropdown.
3. On the **All work** page, select **JQL** (next to the search bar).

![Jira All Work page. The JQL button is highlighted.](media://692e0938-edce-49a5-bbf2-3d0f5b0f52de)

4. Enter your JQL query and press **Enter** to run it. Your search results will be displayed based on the criteria in your JQL query.

## JQL queries for searching linked issues

In the JQL input field, use the following queries to find issues connected to a Key Result or to all KRs under a specific Objective:

| **JQL query** | **Notes** |
| --- | --- |
| - `linkedToKRs("KR-1, KR-2")` | Search for Jira work items linked to the specified KR using the KR key.<br>e.g.: `issue in linkedToKRs("KR-1,KR-2")` |
| - `linkedToObjectives("O-1, O-2")` | Search for Jira work items linked to all KRs under a specified Objective using the Objective key. |
| - `kr="Key result name"`
- `issue.property[okrs2].krNames = "KR Name"` | Search for Jira work items linked to the specified KR using the KR name. |
| - `objective="Objective name"`
- `issue.property[okrs2].objectiveNames = "Objective Name"` | Search for Jira work items linked to all KRs under a specified Objective using the Objective name. |
| - `issue.property[okrs2].krIds = {id}` | Search for Jira work items linked to the specified KR using the KR ID. |

> 📝 The `kr="Key result name"` and `objective="Objective name"` queries will soon be deprecated.


> Macro (excerpt)
> 
> <span style="color: #bf2600">!!! Add a screenshot using </span>`linkedToKRs("KR-1, KR-2")`<span style="color: #bf2600"> JQL</span>