Skip to content

feat(issue): add --description option to lc issue update - #141

Merged
bougyman merged 3 commits into
mainfrom
CRY-53-support-updating-issue-descriptions
Aug 18, 2026
Merged

feat(issue): add --description option to lc issue update#141
bougyman merged 3 commits into
mainfrom
CRY-53-support-updating-issue-descriptions

Conversation

@bougyman

Copy link
Copy Markdown
Member

Summary

  • Adds lc issue update --description TEXT (short: -d TEXT) to update an issue's body text via Linear's issueUpdate mutation
  • Supports --description - to open an editor (consistent with issue create and other long-form inputs)
  • Follows existing update-option precedence order (applied after --project, before the comment-only fallback)
  • Preserves multiline Markdown descriptions without truncation or newline loss (handled by WhatFor.description_for/1)

Changes

  • app/lib/linear_cli/linear/issue.ex: New update :update_description Ash action + LinearCli.Linear.Issue.Update.UpdateDescription ManualUpdate module
  • app/lib/linear_cli/linear.ex: New update_issue_description/2 domain code interface
  • app/lib/linear_cli/cli/issue_helpers.ex: New update_description/2 helper + :description clause in dispatch_update/2
  • app/lib/linear_cli/cli/commands.ex: Pass description: in issue_update/1's update_opts (via Map.get to handle partial option maps in tests)
  • app/lib/linear_cli/cli.ex: --description / -d option on issue update subcommand

Test plan

  • 2 new action-layer tests for update_issue_description/2 in issue_test.exs
  • 3 new helper tests for update_description/2 and dispatch_update in issue_helpers_test.exs
  • 2 new CLI integration tests for --description and -d in issue_commands_test.exs
  • All 7 new tests pass; pre-existing LinearCli.GitTest environment failures are unchanged

Fixes https://linear.app/cryptokairos/issue/CRY-53/support-updating-issue-descriptions

🤖 Generated with Claude Code

Adds `lc issue update --description` (short: `-d`) to update an issue's
body text via the Linear `issueUpdate` mutation with `description` input.

Supports `-` to open an editor (consistent with issue create and other
long-form inputs), and follows the existing update-option precedence
order (after --project, before the comment-only fallback).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Copilot AI lite review requested due to automatic review settings August 18, 2026 13:50

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@bougyman
bougyman merged commit d762f32 into main Aug 18, 2026
2 checks passed
@bougyman
bougyman deleted the CRY-53-support-updating-issue-descriptions branch August 18, 2026 17:57
bougyman pushed a commit that referenced this pull request Aug 18, 2026
🤖 I have created a release *beep* *boop*
---


##
[1.14.0](v1.13.2...v1.14.0)
(2026-08-18)


### Features

* **issue:** add --description option to lc issue update
([#141](#141))
([d762f32](d762f32))
* **issue:** add interactive issue assign command
([#140](#140))
([33176bd](33176bd))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
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