soloscrum-tracker-linear-query-state
Returns active Linear subtasks — items in In Progress or In Review. Active when tracker_profile = linear+github.
Inputs
parent_issue_number(optional) — narrow to one parent GH Issue's Linear Task subtree
Steps
- Fetch in-progress items:
- Linear MCP —
list_issueswith filterstate.name = "In Progress"
- Linear MCP —
- Fetch in-review items:
- Linear MCP —
list_issueswith filterstate.name = "In Review"
- Linear MCP —
- For each subtask, resolve a PR / Figma URL from its
attachmentsfield. The primary source for PR links is Linear's native GitHub integration (already attached asattachments). Ifattachmentsis empty for adevelop-type subtask (sync race or integration off), fall back togh pr list --search "<subtask-id>"to locate the linked PR. Fordesign-uisubtasks, attachments are the Figma URL. - (If
parent_issue_numbergiven) restrict to that parent's subtree by matchingparentId
Output
- Two grouped lists:
In Progress: PRJ-200 (develop) — Implement password reset endpoint In Review: PRJ-201 (develop) — Add reset email template → PR #45 PRJ-202 (design-ui) — Login screen → Figma URL
Notes
- This is the basis for
/soloscrum:statusin linear+github profile - PR links are typically already attached by Linear's GH integration; falling back to
gh pr list --searchis acceptable