maton jira comment list

maton jira comment list <issue-key> [flags]

List comments on an issue. Jira’s comment endpoint paginates with startAt/maxResults rather than nextPageToken — re-run with –start-at to walk past the first page.

Options

--cloud-id <string>
Jira Cloud ID, run 'maton jira cloud list' to discover (required)
--connection <string>
Connection ID to route through (Maton-Connection header)
--dry-run
Print the request that would be sent without executing it
-q, --jq <expression>
Filter JSON output using a jq expression
--json
Output raw JSON
-L, --max-results <int> (default 50)
Maximum number of comments to return
--paginate
Follow next_cursor and concatenate all pages (list commands only)
--start-at <int>
Index of the first comment to return (for pagination)
-t, --template <string>
Format JSON output using a Go template; see "maton help formatting"

Options inherited from parent commands

-p, --profile <string>
Profile to use for this invocation (overrides the active profile; also reads MATON_PROFILE)

Examples

$ maton jira comment list PROJ-123 --cloud-id abc-123
$ maton jira comment list PROJ-123 --cloud-id abc-123 --max-results 100
$ maton jira comment list PROJ-123 --cloud-id abc-123 --start-at 50 --json

See also