Update work item (add comment, change status, edit fields)
Updates work items by adding comments, changing status, or editing fields.
/plugin marketplace add flexion/claude-domestique/plugin install onus@claude-domestique<issue-number> [action]Update an existing issue/work item on your configured platform.
Determine what the user wants to update:
Add comment:
gh issue comment 42 --body "Comment text here"
Change status (close/reopen):
gh issue close 42
gh issue reopen 42
Edit fields:
gh issue edit 42 --title "New title"
gh issue edit 42 --body "New description"
gh issue edit 42 --add-label "in-progress"
gh issue edit 42 --remove-label "needs-triage"
gh issue edit 42 --add-assignee "@me"
Add comment:
https://{host}/rest/api/3/issue/PROJ-123/comment{ "body": { "type": "doc", "version": 1, "content": [...] } }Change status (transition):
https://{host}/rest/api/3/issue/PROJ-123/transitions{ "transition": { "id": "31" } }Edit fields:
https://{host}/rest/api/3/issue/PROJ-123{ "fields": { "summary": "New title" } }Add comment:
https://dev.azure.com/{org}/{project}/_apis/wit/workitems/42/comments?api-version=7.0-preview.3{ "text": "Comment here" }Update fields:
https://dev.azure.com/{org}/{project}/_apis/wit/workitems/42?api-version=7.0User: /onus:update 42 comment
Claude: What would you like to comment on issue #42?
User: Completed the API integration, moving to frontend work
Claude: Adding comment...
[Runs: gh issue comment 42 --body "..."]
Comment added to #42.
User: /onus:update 42 status
Claude: What status should I set for #42?
Current: Open
Options: In Progress, Done, Won't Fix
User: In Progress
Claude: For GitHub Issues, I'll add a label. Adding 'in-progress' label...
[Runs: gh issue edit 42 --add-label "in-progress"]
User: /onus:update 42 criteria
Claude: Which acceptance criteria have been completed?
Current criteria for #42:
- [ ] User can log in with email/password
- [ ] Form validates input
- [ ] Token stored securely
User: The first two are done
Claude: I'll add a comment documenting progress...
[Runs: gh issue comment 42 --body "Progress update: ..."]
To update multiple issues:
# Close all issues with a label
gh issue list --label "duplicate" --json number -q '.[].number' | xargs -I {} gh issue close {}
Can't transition issue (JIRA)?
/rest/api/3/issue/PROJ-123/transitionsComment failed?
/updateCrées la documentation pour la fonctionnalité en cours. Mets à jour le readme global du projet si nécessaire. Lie les documents entre eux pour ne pas avoir de documentation orpheline. La documentation est générée dans les répertoire de documentation du projet.