Skip to content

Commit

Permalink
expose epic_id field in issue create/update opts
Browse files Browse the repository at this point in the history
  • Loading branch information
sding3 committed Jul 14, 2023
1 parent ed688b6 commit 56fa04c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions issues.go
Original file line number Diff line number Diff line change
Expand Up @@ -445,6 +445,7 @@ type CreateIssueOptions struct {
Labels *Labels `url:"labels,comma,omitempty" json:"labels,omitempty"`
CreatedAt *time.Time `url:"created_at,omitempty" json:"created_at,omitempty"`
DueDate *ISOTime `url:"due_date,omitempty" json:"due_date,omitempty"`
EpicID *int `url:"epic_id,omitempty" json:"epic_id,omitempty"`
MergeRequestToResolveDiscussionsOf *int `url:"merge_request_to_resolve_discussions_of,omitempty" json:"merge_request_to_resolve_discussions_of,omitempty"`
DiscussionToResolve *string `url:"discussion_to_resolve,omitempty" json:"discussion_to_resolve,omitempty"`
Weight *int `url:"weight,omitempty" json:"weight,omitempty"`
Expand Down Expand Up @@ -490,6 +491,7 @@ type UpdateIssueOptions struct {
StateEvent *string `url:"state_event,omitempty" json:"state_event,omitempty"`
UpdatedAt *time.Time `url:"updated_at,omitempty" json:"updated_at,omitempty"`
DueDate *ISOTime `url:"due_date,omitempty" json:"due_date,omitempty"`
EpicID *int `url:"epic_id,omitempty" json:"epic_id,omitempty"`
Weight *int `url:"weight,omitempty" json:"weight,omitempty"`
DiscussionLocked *bool `url:"discussion_locked,omitempty" json:"discussion_locked,omitempty"`
IssueType *string `url:"issue_type,omitempty" json:"issue_type,omitempty"`
Expand Down

0 comments on commit 56fa04c

Please sign in to comment.