Skip to content

Latest commit

 

History

History
63 lines (38 loc) · 1.72 KB

File metadata and controls

63 lines (38 loc) · 1.72 KB

Workflow: Retrieve Teams and Leads

Structured list of all active RHDH teams with leads and Slack handles.

Requirement Check
gog CLI gog sheets metadata 1vQXfvID72qwqvLb17eyGOvnZXrZG7NBzTGv6RP9wvyM --json succeeds

If gog check fails: run gog auth add <email>.

Step 1: Run CLI

python scripts/release.py --json teams

To filter by category:

python scripts/release.py --json teams --category Engineering

If the CLI succeeds, use its output directly. If it fails, follow the manual steps below.

Step 2 (fallback): Fetch team data via gog

gog sheets get 1vQXfvID72qwqvLb17eyGOvnZXrZG7NBzTGv6RP9wvyM Team --json --results-only

Filter the JSON output to active teams only (status column = "Active"). To filter by category, match the category column.

Step 3 (fallback): Format output

Present as a table:

Category Team Name Team ID Leads Slack Handles Status
{{CATEGORY}} {{TEAM_NAME}} {{TEAM_ID}} {{LEADS}} {{SLACK_HANDLES}} {{STATUS}}

Include link to source: RHDH Team Mapping

  • By default only active teams are returned. The CLI filters by status = Active in the Google Sheet.
  • The cloud_id is the Jira Cloud team identifier used by parse_issues.py --enrich for team-based filtering — the Team custom field cannot be queried via JQL directly.

<success_criteria>

  • Table with team name, lead, category, and team ID
  • Only active teams shown by default

</success_criteria>