Skip to content

Feature/issue full fields#2

Closed
iatsiuk wants to merge 14 commits into
masterfrom
feature/issue-full-fields
Closed

Feature/issue full fields#2
iatsiuk wants to merge 14 commits into
masterfrom
feature/issue-full-fields

Conversation

@iatsiuk
Copy link
Copy Markdown
Owner

@iatsiuk iatsiuk commented Mar 10, 2026

Summary

  • Split issueFields into issueListFields (compact) and issueDetailFields (full) to eliminate over-fetching
  • Display all 9 previously undisplayed fields in issue show: number, customerTicketCount, slaHighRiskAt, slaMediumRiskAt, startedTriageAt, snoozedUntilAt, addedToCycleAt, addedToProjectAt, addedToTeamAt
  • Add comprehensive tests: query field presence, model deserialization, display output
  • Update README with all new issue show fields

Test plan

  • make build passes (linter + build)
  • go test -race ./... -- all tests pass
  • E2E: created test issue in Linear, verified issue show displays all new fields correctly
  • E2E: verified issue list uses compact field set (no over-fetching)

🤖 Generated with Claude Code

pvarganov and others added 14 commits March 10, 2026 12:57
Add trashed, timestamps (canceledAt, completedAt, startedAt, etc.),
SLA fields, branchName, customerTicketCount, creator, and cycle
to issue GraphQL query and Issue struct.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Add Creator, Branch, Trashed, Cycle, timestamps (started, completed,
canceled, triaged, archived, auto-archived, auto-closed) and SLA fields
to printIssueDetail output.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Replaces single issueFields constant with issueListFields (compact,
for listings) and issueDetailFields (full, for single-issue views).
List queries no longer over-fetch detail-only fields.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Added number, customerTicketCount, slaHighRiskAt, slaMediumRiskAt,
startedTriageAt, snoozedUntilAt, addedToCycleAt, addedToProjectAt,
addedToTeamAt to printIssueDetail output with TDD (test first).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- use issueListFields in IssueCreate/UpdateMutation (callers use printIssueRow, not printIssueDetail)
- display Number and CustomerTicketCount unconditionally (non-null schema fields)
- fix column alignment: widen format from %-14s to %-15s to fit "Added to Cycle:"
- add missing timestamp/SLA fields to test fixture and assertions (10 fields were untested)
- add IssueBranchQuery to allQueries and detailQueries in TestIssueFieldsPresence; remove Create/UpdateMutation from detailQueries
- document list/detail field set pattern in CLAUDE.md

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@iatsiuk iatsiuk closed this Mar 10, 2026
@iatsiuk iatsiuk deleted the feature/issue-full-fields branch March 10, 2026 13:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants