Empty string doesn't work as CLI flag value. Use 'clear' keyword instead:
- --label 327264,327265 set labels
- --label clear remove all labels
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Support setting or clearing labels on existing issues:
- --label 327264,327265 set labels
- --label "" clear all labels
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
The GitLink v1 API expects issue_tag_ids (array of integers), not label_id.
This fixes the bug where --label was silently ignored when creating issues.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
The API returns both "id" (global database PK) and "project_issues_index"
(per-project sequential number). The +list JSON output was a raw API
pass-through, making the database ID the most prominent identifier.
This change normalizes each issue in the list:
- Add "number" field from project_issues_index (matches the web URL)
- Rename "id" to "database_id" to prevent confusion
The "number" field now matches the --number flag used by +view, +close,
+update, and +comment commands.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>