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 create

Create a comment on work items

Synopsis

Add a comment to a work item or multiple work items using the default visibility for the project.

1
2
acli jira workitem comment create [flags]

Examples

1
2
# Comment on work item with work item keys
$ acli jira workitem comment --key "KEY-1" --body "This is a comment"

# Comment on work item with JQL query and plain text file 
$ acli jira workitem comment --jql "project = TEAM" --body-file "comment.txt" --edit-last

# Comment on work item with JQL query
$ acli jira workitem comment --jql "project = TEAM" --editor

Options

1
2
  -b, --body string        Comment body in plain text or Atlassian Document Format (ADF)
  -F, --body-file string   Plain text file with text or Atlassian Document Format (ADF)
  -e, --edit-last          Edit the last comment from the same author
      --editor             Skip prompts and open the text editor to write the body
      --filter string      Filter ID of work items to comment
  -h, --help               Show help for command
      --ignore-errors      Ignore the errors and continue
      --jql string         JQL query for work items to comment
      --json               Generate a JSON output
  -k, --key string         A list of work item keys to comment

SEE ALSO

Rate this page: