feat(rhdh-release): use JQL Team[Team] filter with Cloud ID for team queries#52
Open
jasperchui wants to merge 1 commit into
Open
feat(rhdh-release): use JQL Team[Team] filter with Cloud ID for team queries#52jasperchui wants to merge 1 commit into
jasperchui wants to merge 1 commit into
Conversation
…queries
Replace the slow parse_issues.py --enrich workflow for team-based filtering
with direct JQL filtering using "Team[Team]" = "{{CLOUD_ID}}". This reduces
team breakdown queries from minutes (per-issue API enrichment) to ~12 seconds
(one JQL count per team).
Changes:
- Add 3 new JQL templates: open_issues_by_team, feature_freeze_issues_by_team,
code_freeze_issues_by_team
- Add cloud_id placeholder support to jql.py render/render_with_url
- Rewrite cmd_team_breakdown, cmd_slack_feature_freeze_update, and
cmd_slack_code_freeze_update in release.py to use JQL team filter
- Update workflow docs and SKILL.md to reference Cloud ID approach
Co-authored-by: Cursor <cursoragent@cursor.com>
4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
open_issues_by_team,feature_freeze_issues_by_team,code_freeze_issues_by_team) that use"Team[Team]" = "{{CLOUD_ID}}"to filter issues by team directly in JQLparse_issues.py --enrichworkflow — team breakdown queries now take ~12 seconds instead of minutes (eliminates per-issue API enrichment calls for 1,200+ issues)jql.pywithcloud_idplaceholder support inrender()andrender_with_url()release.py(cmd_team_breakdown,cmd_slack_feature_freeze_update,cmd_slack_code_freeze_update) to issue one JQL count query per team instead of enriching every issueBackground
The Jira "Team" custom field (
customfield_10001) stores a Cloud ID (e.g.,ec74d716-af36-4b3c-950f-f79213d08f71-4403for COPE). While previously believed to be non-queryable via JQL, the syntax"Team[Team]" = "CLOUD_ID"works and returns results in ~1.5 seconds. Cloud IDs are sourced from the "Cloud ID" column in the RHDH Team Mapping Google Sheet.Test plan
"Team[Team]" = "ec74d716-af36-4b3c-950f-f79213d08f71-4403"returns 209 COPE issues for 2.1.0team-breakdown 2.1.0end-to-end — completes in ~12s with correct counts for all 6 engineering teamsMade with Cursor