Update a comment on a work item.
1 2acli jira workitem comment update [flags]
1 2# Update comment body $ acli jira workitem comment update --key TEST-123 --id 10001 --body "Updated comment text" # Update comment from file $ acli jira workitem comment update --key TEST-123 --id 10001 --body-file comment.txt # Update comment with ADF format $ acli jira workitem comment update --key TEST-123 --id 10001 --body-adf comment.json # Update comment with role visibility $ acli jira workitem comment update --key TEST-123 --id 10001 --body "Internal comment" --visibility-role "Administrators" # Update comment with group visibility and notifications $ acli jira workitem comment update --key TEST-123 --id 10001 --body "Team update" --visibility-group "dev-team" --notify
1 2-b, --body string Comment body text --body-adf string Body in Atlassian Document Format (JSON file) -F, --body-file string Plain text file containing comment body -h, --help Show help for command --id string The work item comment ID to be updated --key string The work item key to be updated --notify Notifies users about the change --visibility-group string Set comment visibility to a specific group --visibility-role string Set comment visibility to a specific role
Rate this page: