cops jira issue commands let you inspect individual Jira issues and search across your project. They call the Jira REST API v2 and the dev-status REST API.
cops jira issue get
cops jira issue get
Fetch full details for a single issue by its issue key.Alias:
cops jira issue detailsUsage
Arguments
| Argument | Required | Description |
|---|---|---|
issueKey | Yes | Issue key, e.g. ABC-123 |
Flags
Output format:
table, json, or markdown.Disable TLS certificate validation. Use only with self-signed certificates in trusted networks.
Override the active config profile.
Output columns
key, summary, status, type, assignee, reporter, fixVersionsExamples
cops jira issue sprint
cops jira issue sprint
Get the sprint that a specific issue is currently assigned to.
Usage
Arguments
| Argument | Required | Description |
|---|---|---|
issueKey | Yes | Issue key, e.g. ABC-123 |
Flags
Output format:
table, json, or markdown.Disable TLS certificate validation. Use only with self-signed certificates in trusted networks.
Override the active config profile.
Output columns
issueKey, sprintId, sprintName, sprintState, startDate, endDateIf the issue is not assigned to any sprint, the output is empty.Examples
cops jira issue search
cops jira issue search
Search for issues using a JQL query.Alias:
cops jira issue findUsage
Flags
JQL query string. See Jira documentation for syntax.
Maximum number of issues to return.
Output format:
table, json, or markdown.Disable TLS certificate validation. Use only with self-signed certificates in trusted networks.
Override the active config profile.
Output columns
key, summary, status, type, assignee, fixVersionsA Total: line is printed below the table (suppressed in --output json).Examples
cops jira issue dev-status
cops jira issue dev-status
Show a development activity summary for an issue: repositories, branches, pull requests, builds, deployments, and reviews.Alias:
cops jira issue devThis command calls the Jira dev-status REST API (
/rest/dev-status/1.0/issue/summary), which requires a connected development tool integration (e.g. Bitbucket, Stash, or Bamboo) in your Jira instance.Usage
Arguments
| Argument | Required | Description |
|---|---|---|
issueKey | Yes | Issue key, e.g. ABC-123 |
Flags
Output format:
table, json, or markdown.Disable TLS certificate validation. Use only with self-signed certificates in trusted networks.
Override the active config profile.
Output columns
issueKey, repositories, branches, pullRequests, buildsPassed, buildsFailed, deployments, reviewsExamples
Related
cops jira board
Find boards and inspect board configuration.
cops jira sprint
List sprints and fetch sprint issues.
