Skip to content

feat(create): --json returns the created issue (#64) - #65

Open
rush-cloud-agents[bot] wants to merge 2 commits into
mainfrom
feat/create-json-64
Open

rush-cloud-agents[bot] wants to merge 2 commits into
mainfrom
feat/create-json-64

Conversation

@rush-cloud-agents

@rush-cloud-agents rush-cloud-agents Bot commented Oct 9, 2026 •

Copy link
Copy Markdown

Closes #64.

linear create --json prints one JSON object for the created issue: id, identifier, title, url, status, priority, plus reminder when --remind-at was given (null if it could not be set). Nothing else goes to stdout; warnings and the "applied" context stay on stderr. A rejected create exits 1.

With --from-file, --json prints a JSON array with one entry per input line: the created issue, or {"error": ..., "title": ...} for a failure (a non-object line becomes an error entry). Without --json, output is unchanged. README, skill.md and CHANGELOG list the flag.

Written by Claude Code in a Rush Cloud run (commits aa95572, d3a76eb). A separate OpenCode run on the same issue could not push its branch and replaced this description with its own; this restores it to match the code.

$ python3 test_linear.py
Ran 239 tests in 1.232s
OK (skipped=4)

Rush Cloud Agent and others added 2 commits October 9, 2026 10:39
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…ome error entries

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@rush-cloud-agents

Copy link
Copy Markdown
Author

Non-author review (subagent): NON-BLOCKING, conformant to #64, stdout clean on all traced paths. Two SHOULD findings (exit 0 with empty stdout on a rejected single create; non-object JSONL line crashing bulk mode) fixed in the follow-up commit with tests.

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.

Feature: create --json returns the created issue as JSON

0 participants