← 返回命令列表

Linux command

jira-sprint 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

List sprints for a project

jira sprint list -p [PROJECT]

View current sprint issues

jira sprint list --current -p [PROJECT]

View previous sprint issues

jira sprint list --prev -p [PROJECT]

List future and active sprints

jira sprint list --state future,active -p [PROJECT]

Add issue to sprint

jira sprint add [SPRINT_ID] [PROJ-123]

List current sprint issues assigned to you

jira sprint list --current -a$(jira me) -p [PROJECT]

说明

jira sprint manages Jira sprints from the command line. It lists sprints, views sprint issues, and adds issues to sprints. Results are displayed in an interactive explorer view by default, with optional table and plain text output modes. The command supports all filtering flags from the issue list command, allowing filtering by assignee, status, priority, and other issue fields within a sprint context.

参数

list
List sprints and sprint issues in an interactive explorer view.
add _SPRINT_ _ISSUE_
Add issue to a sprint.
--current
Show issues in the current active sprint.
--prev
Show issues in the previous sprint.
--next
Show issues in the next planned sprint.
--state _STATES_
Filter sprints by state (comma-separated: active, closed, future).
-a _ASSIGNEE_
Filter issues by assignee.
-p _PROJECT_
Project key.
--table
Display results in table view instead of explorer view.
--plain
Output plain text (useful for scripting).
--no-headers
Omit column headers (useful with --plain for scripting).
--help
Display help information.

FAQ

What is the jira-sprint command used for?

jira sprint manages Jira sprints from the command line. It lists sprints, views sprint issues, and adds issues to sprints. Results are displayed in an interactive explorer view by default, with optional table and plain text output modes. The command supports all filtering flags from the issue list command, allowing filtering by assignee, status, priority, and other issue fields within a sprint context.

How do I run a basic jira-sprint example?

Run `jira sprint list -p [PROJECT]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does list do in jira-sprint?

List sprints and sprint issues in an interactive explorer view.