File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -38,10 +38,10 @@ type SubIssueListByIssueOptions struct {
3838
3939// SubIssueRequest represents a request to add, remove, or reprioritize sub-issues.
4040type SubIssueRequest struct {
41- SubIssueID int `json:"sub_issue_id,omitempty "` // Required: The ID of the sub-issue
42- AfterID int `json:"after_id,omitempty"` // Optional: Position after this sub-issue ID
43- BeforeID int `json:"before_id,omitempty"` // Optional: Position before this sub-issue ID
44- ReplaceParent bool `json:"replace_parent,omitempty"` // Optional: Whether to replace the existing parent
41+ SubIssueID int64 `json:"sub_issue_id"` // Required: The ID of the sub-issue
42+ AfterID * int64 `json:"after_id,omitempty"` // Optional: Position after this sub-issue ID
43+ BeforeID * int64 `json:"before_id,omitempty"` // Optional: Position before this sub-issue ID
44+ ReplaceParent * bool `json:"replace_parent,omitempty"` // Optional: Whether to replace the existing parent
4545}
4646
4747// Remove a sub-issue from the specified repository.
You can’t perform that action at this time.
0 commit comments