Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Jira CLI(7)							   Jira	CLI(7)

NAME
       jira-issue-comment-add -	Add a comment to an issue

SYNOPSIS
       jira issue comment add ISSUE-KEY	[COMMENT_BODY] [flags]

DESCRIPTION
       Add adds	comment	to an issue.

OPTIONS
       -h, --help[=false]      help for	add

       --no-input[=false]      Disable prompt for non-required fields

       -T, --template=""      Path to a	file to	read comment body from

       --web[=false]	  Open issue in	web browser after adding comment

OPTIONS	INHERITED FROM PARENT COMMANDS
       -c,  --config=""	     Config file (default is /root/.config/.jira/.con-
       fig.yml)

       --debug[=false]	    Turn on debug output

       -p,  --project=""       Jira  project  to  look	 into	(defaults   to
       /root/.config/.jira/.config.yml)

EXAMPLE
       $ jira issue comment add

       # Pass required parameters to skip prompt
       $ jira issue comment add	ISSUE-1	"My comment"

       # Multi-line comment
       $ jira issue comment add	ISSUE-1	$'Supports\n\nNew line'

       # Load comment body from	a template file
       $ jira issue comment add	ISSUE-1	--template /path/to/template.tmpl

       # Get comment body from standard	input
       $ jira issue comment add	ISSUE-1	--template -

       # Or, use pipe to read input directly from standard input
       $ echo "Comment from stdin" | jira issue	comment	add ISSUE-1

       # Positional argument takes precedence over the template	flag
       # The example below will	add "comment from arg" as a comment
       $ jira issue comment add	ISSUE-1	"comment from arg" --template /path/to/template.tmpl

SEE ALSO
       jira-issue-comment(7)

HISTORY
       14-Apr-2025 Auto	generated by spf13/cobra

Auto generated by spf13/cobra	   Apr 2025			   Jira	CLI(7)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=jira-issue-comment-add&sektion=7&manpath=FreeBSD+Ports+14.3.quarterly>

home | help