Documentation
¶
Index ¶
- type AttachmentsAddCmd
- type AttachmentsCmd
- type CommentsAddCmd
- type CommentsCmd
- type CommentsDeleteCmd
- type CommentsListCmd
- type CommentsUpdateCmd
- type IssuesCmd
- type IssuesCreateCmd
- type IssuesDeleteCmd
- type IssuesGetCmd
- type IssuesParentClearCmd
- type IssuesParentCmd
- type IssuesParentSetCmd
- type IssuesSearchCmd
- type IssuesTransitionCmd
- type IssuesUpdateCmd
- type LinksAddCmd
- type LinksCmd
- type LinksDeleteCmd
- type LinksListCmd
- type LinksTypesCmd
- type ProjectsCmd
- type ProjectsGetCmd
- type ProjectsListCmd
- type UsersAssignableCmd
- type UsersCmd
- type UsersMeCmd
- type UsersSearchCmd
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AttachmentsAddCmd ¶
type AttachmentsAddCmd struct {
IssueKey string `arg:"" help:"Issue key (e.g., PROJ-123)"`
FilePath string `arg:"" help:"Path to file to attach. After attaching, use !filename! in descriptions/comments to embed inline"`
Filename string `help:"Display name for the attachment (defaults to file's basename)"`
JSON bool `short:"j" help:"Output as JSON"`
}
type AttachmentsCmd ¶
type AttachmentsCmd struct {
Add AttachmentsAddCmd `cmd:"" help:"Add an attachment to an issue"`
}
type CommentsAddCmd ¶
type CommentsCmd ¶
type CommentsCmd struct {
List CommentsListCmd `cmd:"" help:"List comments on an issue"`
Add CommentsAddCmd `cmd:"" help:"Add a comment to an issue"`
Update CommentsUpdateCmd `cmd:"" help:"Update a comment"`
Delete CommentsDeleteCmd `cmd:"" help:"Delete a comment"`
}
type CommentsDeleteCmd ¶
type CommentsListCmd ¶
type CommentsUpdateCmd ¶
type IssuesCmd ¶
type IssuesCmd struct {
Search IssuesSearchCmd `cmd:"" help:"Search issues with JQL"`
Get IssuesGetCmd `cmd:"" help:"Get an issue by key"`
Create IssuesCreateCmd `cmd:"" help:"Create a new issue"`
Update IssuesUpdateCmd `cmd:"" help:"Update an issue"`
Delete IssuesDeleteCmd `cmd:"" help:"Delete an issue"`
Transition IssuesTransitionCmd `cmd:"" help:"Transition an issue to a new status"`
Parent IssuesParentCmd `cmd:"" help:"Manage an issue's parent (the 'Epic' for stories under an epic — same field)"`
}
type IssuesCreateCmd ¶
type IssuesCreateCmd struct {
Project string `short:"p" required:"" help:"Project key (e.g., ED)"`
Type string `short:"t" default:"Task" help:"Issue type (Bug, Task, Story, etc.)"`
Summary string `short:"s" required:"" help:"Issue summary/title"`
Description string `short:"d" help:"Issue description (supports markdown, @mentions, and inline images (!filename!))"`
Priority string `help:"Priority (Highest, High, Medium, Low, Lowest)"`
Assignee string `short:"a" help:"Assignee account ID"`
Labels string `short:"l" help:"Comma-separated labels"`
DueDate string `help:"Due date (YYYY-MM-DD)"`
Parent string `help:"Parent issue key (in JIRA's UI this is the 'Epic' for stories under epics — same field)"`
JSON bool `short:"j" help:"Output as JSON"`
}
type IssuesDeleteCmd ¶
type IssuesGetCmd ¶
type IssuesParentClearCmd ¶ added in v0.6.0
type IssuesParentClearCmd struct {
Children []string `arg:"" name:"child" help:"Issue keys to detach from their parent (one or more)"`
}
type IssuesParentCmd ¶ added in v0.6.0
type IssuesParentCmd struct {
Set IssuesParentSetCmd `cmd:"" help:"Attach one or more issues to a parent (e.g., add stories to an epic)"`
Clear IssuesParentClearCmd `cmd:"" help:"Detach one or more issues from their parent"`
}
IssuesParentCmd manages an issue's parent (in JIRA's UI this is the "Epic" of a story under an epic — same field).
type IssuesParentSetCmd ¶ added in v0.6.0
type IssuesSearchCmd ¶
type IssuesSearchCmd struct {
JQL string `arg:"" optional:"" help:"JQL query string"`
Project string `short:"p" help:"Filter by project key"`
Status string `short:"s" help:"Filter by status name"`
Assignee string `short:"a" help:"Filter by assignee (account ID or 'currentUser()')"`
MyIssues bool `short:"m" help:"Show only issues assigned to current user"`
Type string `short:"t" help:"Filter by issue type (Bug, Task, Story, etc.)"`
Parent string `help:"Filter by parent issue key (in JIRA's UI, the 'Epic' for stories under an epic — same field)"`
Max int `short:"n" default:"50" help:"Maximum results"`
JSON bool `short:"j" help:"Output as JSON"`
}
type IssuesTransitionCmd ¶
type IssuesUpdateCmd ¶
type IssuesUpdateCmd struct {
IssueKey string `arg:"" help:"Issue key (e.g., PROJ-123)"`
Summary string `short:"s" help:"New summary"`
Description string `short:"d" help:"New description (supports markdown, @mentions, and inline images (!filename!))"`
Priority string `help:"New priority"`
Assignee string `short:"a" help:"New assignee account ID"`
Unassign bool `help:"Remove assignee"`
Labels string `short:"l" help:"New comma-separated labels"`
DueDate string `help:"Due date (YYYY-MM-DD)"`
NoDueDate bool `help:"Remove due date"`
}
type LinksAddCmd ¶
type LinksCmd ¶
type LinksCmd struct {
List LinksListCmd `cmd:"" help:"List links on an issue"`
Add LinksAddCmd `cmd:"" help:"Link two issues"`
Delete LinksDeleteCmd `cmd:"" help:"Delete an issue link"`
Types LinksTypesCmd `cmd:"" help:"List available link types"`
}
type LinksDeleteCmd ¶
type LinksListCmd ¶
type LinksTypesCmd ¶
type LinksTypesCmd struct {
JSON bool `short:"j" help:"Output as JSON"`
}
type ProjectsCmd ¶
type ProjectsCmd struct {
List ProjectsListCmd `cmd:"" help:"List projects"`
Get ProjectsGetCmd `cmd:"" help:"Get project details"`
}
type ProjectsGetCmd ¶
type ProjectsListCmd ¶
type UsersAssignableCmd ¶
type UsersCmd ¶
type UsersCmd struct {
Me UsersMeCmd `cmd:"" help:"Show current user"`
Search UsersSearchCmd `cmd:"" help:"Search for users"`
Assignable UsersAssignableCmd `cmd:"" help:"List users assignable to a project"`
}
type UsersMeCmd ¶
type UsersMeCmd struct {
JSON bool `short:"j" help:"Output as JSON"`
}
Click to show internal directories.
Click to hide internal directories.