Developer
Documentation
Resources
Get Support
Sign in
Developer
Get Support
Sign in
DOCUMENTATION
Cloud
Data Center
Resources
Sign in
Developer
Sign in
DOCUMENTATION
Cloud
Data Center
Resources
Sign in
admin auth
admin user
jira auth
jira board
jira dashboard
jira field
jira filter
jira project
jira sprint
jira workitem
rovodev auth
Last updated Oct 3, 2024

acli jira workitem comment update

Update a comment on a work item.

1
2
acli jira workitem comment update [flags]

Examples

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

Options

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

SEE ALSO

Rate this page: