From cdf8c534a89d8cb0f233d8a84b46920a24a51ce5 Mon Sep 17 00:00:00 2001 From: Jason Chui Date: Fri, 3 Jul 2026 11:00:15 -0400 Subject: [PATCH] feat(rhdh-release): sync JQL templates with current Jira project structure - release_notes: check Release Note Status, Text, and Type fields; exclude CVEs and obsolete/duplicate/Won't Do resolutions - feature_freeze_issues: add new components to exclusion list (AEM Migration, AI Demo, Conference, JTBD, RHDH Plugin Repo, Security Tooling) - code_freeze_issues: rewrite with per-issuetype clauses and updated component exclusions - Add _by_team variants (open_issues_by_team, feature_freeze_issues_by_team, code_freeze_issues_by_team) using "Team[Team]" = "{{CLOUD_ID}}" for fast JQL-based team filtering Co-authored-by: Cursor --- skills/rhdh-release/references/jql-release.md | 40 +++++++++++++++++-- 1 file changed, 37 insertions(+), 3 deletions(-) diff --git a/skills/rhdh-release/references/jql-release.md b/skills/rhdh-release/references/jql-release.md index afc92c3..aa1eeae 100644 --- a/skills/rhdh-release/references/jql-release.md +++ b/skills/rhdh-release/references/jql-release.md @@ -116,7 +116,7 @@ project in (RHDHPlan, rhidp) AND issuetype = feature AND fixVersion = "{{RELEASE Find issues missing Release Note Type field. ```jql -project in (RHIDP, "Red Hat Developer Hub Bugs", "RHDH Support", rhdhplan) and issuetype in (Feature, bug) and "Release Note Type" is EMPTY and fixVersion = "{{RELEASE_VERSION}}" +project in (RHIDP, "Red Hat Developer Hub Bugs", "RHDH Support", rhdhplan) and issuetype in (Feature, bug) and ("Release Note Type" not in ("Release Note Not Required") or "release note type" is empty) and ("Release Note Status" not in ("In Progress", Proposed, Done) or "Release Note Text[Paragraph]" is empty or "Release Note Type[Dropdown]" is empty) and summary !~ "CVE-*" and (resolution not in (obsolete, duplicate, "Won't Do") or resolution is empty) and fixVersion = "{{RELEASE_VERSION}}" ``` - **Placeholders:** `{{RELEASE_VERSION}}` @@ -140,7 +140,7 @@ project IN (RHIDP, RHDHBugs, RHDHPLAN, RHDHSUPP) AND fixVersion = "{{RELEASE_VER Find feature work outstanding at Feature Freeze. ```jql -project IN (RHIDP, RHDHBugs, RHDHPLAN, RHDHSUPP) AND fixVersion = "{{RELEASE_VERSION}}" and resolution is EMPTY AND component not in (AI, Build, Certification, "Continuous Improvement", Documentation, Knowledge, Performance, Quality, Quickstart, Release, "RHDH Local", Security, Segment, Serviceability, Support, "Team Operations", "Test Framework", "Test Infrastructure", "Upstream & Community", UX) AND Type not in (Bug, Vulnerability, sub-task) AND status not in ("Dev Complete", "Release Pending", Done, Closed) AND (labels is EMPTY OR labels != stretch-goal) +project IN (RHIDP, RHDHBugs, RHDHPLAN, RHDHSUPP) AND fixVersion = "{{RELEASE_VERSION}}" and resolution is EMPTY AND component not in ("AEM Migration", AI, "AI Demo", Conference, Build, Certification, "Continuous Improvement", Documentation, JTBD, Knowledge, Performance, Quality, Quickstart, Release, "RHDH Local", "RHDH Plugin Repo", Security, "Security Tooling", Segment, Serviceability, Support, "Team Operations", "Test Framework", "Test Infrastructure", "Upstream & Community", UX) AND Type not in (Bug, Vulnerability, sub-task) AND status not in ("Dev Complete", "Release Pending", Done, Closed) AND (labels is EMPTY OR labels != stretch-goal) ``` - **Placeholders:** `{{RELEASE_VERSION}}` @@ -151,8 +151,42 @@ project IN (RHIDP, RHDHBugs, RHDHPLAN, RHDHSUPP) AND fixVersion = "{{RELEASE_VER Find all issues outstanding at Code Freeze. ```jql -project IN (RHIDP, RHDHBugs, RHDHPLAN, RHDHSUPP) AND fixVersion = "{{RELEASE_VERSION}}" and status != closed +project IN (RHIDP, RHDHBugs, RHDHPLAN, RHDHSUPP) AND fixVersion = "{{RELEASE_VERSION}}" and issuetype in (bug, Story, task, Vulnerability) AND status not in ("Release Pending", Closed) AND component not in ("AEM Migration", AI, "AI Demo", Conference, Documentation, JTBD, Knowledge, Performance, Release, "RHDH Plugin Repo", Security, "Security Tooling", Support, "Team Operations", "Upstream & Community") OR issuetype in (feature) AND status not in ("Release Pending", Closed) AND component not in ("AEM Migration", AI, "AI Demo", Conference, Documentation, JTBD, Knowledge, Performance, Release, "RHDH Plugin Repo", Security, "Security Tooling", Support, "Team Operations", "Upstream & Community") OR issuetype in (epic) AND status not in ("Dev Complete", "Release Pending", Closed) AND component not in ("AEM Migration", AI, "AI Demo", Conference, Documentation, JTBD, Knowledge, Performance, Release, "RHDH Plugin Repo", Security, "Security Tooling", Support, "Team Operations", "Upstream & Community") ``` - **Placeholders:** `{{RELEASE_VERSION}}` - **Notes:** All open work. Same as `open_issues` — used for Code Freeze announcements. + +## open_issues_by_team + +Find all open issues for a release filtered by team using Cloud ID. + +```jql +project IN (RHIDP, RHDHBugs, RHDHPLAN, RHDHSUPP) AND fixVersion = "{{RELEASE_VERSION}}" AND status != closed AND "Team[Team]" = "{{CLOUD_ID}}" +``` + +- **Placeholders:** `{{RELEASE_VERSION}}`, `{{CLOUD_ID}}` +- **Example:** `... AND fixVersion = "2.1.0" AND status != closed AND "Team[Team]" = "ec74d716-af36-4b3c-950f-f79213d08f71-4403"` +- **Notes:** Cloud ID is the Jira Cloud team identifier from the RHDH Team Mapping spreadsheet (column "Cloud ID"). This is the fastest way to filter by team — no enrichment needed. + +## feature_freeze_issues_by_team + +Find feature work outstanding at Feature Freeze filtered by team. + +```jql +project IN (RHIDP, RHDHBugs, RHDHPLAN, RHDHSUPP) AND fixVersion = "{{RELEASE_VERSION}}" and resolution is EMPTY AND component not in ("AEM Migration", AI, "AI Demo", Conference, Build, Certification, "Continuous Improvement", Documentation, JTBD, Knowledge, Performance, Quality, Quickstart, Release, "RHDH Local", "RHDH Plugin Repo", Security, "Security Tooling", Segment, Serviceability, Support, "Team Operations", "Test Framework", "Test Infrastructure", "Upstream & Community", UX) AND Type not in (Bug, Vulnerability, sub-task) AND status not in ("Dev Complete", "Release Pending", Done, Closed) AND (labels is EMPTY OR labels != stretch-goal) AND "Team[Team]" = "{{CLOUD_ID}}" +``` + +- **Placeholders:** `{{RELEASE_VERSION}}`, `{{CLOUD_ID}}` +- **Notes:** Same as `code_freeze_issues` but scoped to a single team by Cloud ID. + +## code_freeze_issues_by_team + +Find all issues outstanding at Code Freeze filtered by team. + +```jql +project IN (RHIDP, RHDHBugs, RHDHPLAN, RHDHSUPP) AND fixVersion = "{{RELEASE_VERSION}}" and issuetype in (bug, Story, task, Vulnerability) AND status not in ("Release Pending", Closed) AND component not in ("AEM Migration", AI, "AI Demo", Conference, Documentation, JTBD, Knowledge, Performance, Release, "RHDH Plugin Repo", Security, "Security Tooling", Support, "Team Operations", "Upstream & Community") OR issuetype in (feature) AND status not in ("Release Pending", Closed) AND component not in ("AEM Migration", AI, "AI Demo", Conference, Documentation, JTBD, Knowledge, Performance, Release, "RHDH Plugin Repo", Security, "Security Tooling", Support, "Team Operations", "Upstream & Community") OR issuetype in (epic) AND status not in ("Dev Complete", "Release Pending", Closed) AND component not in ("AEM Migration", AI, "AI Demo", Conference, Documentation, JTBD, Knowledge, Performance, Release, "RHDH Plugin Repo", Security, "Security Tooling", Support, "Team Operations", "Upstream & Community") AND "Team[Team]" = "{{CLOUD_ID}}" +``` + +- **Placeholders:** `{{RELEASE_VERSION}}`, `{{CLOUD_ID}}` +- **Notes:** Same as `code_freeze_issues` but scoped to a single team by Cloud ID.