Skip to content

Commit

Permalink
Merge pull request #1755 from sding3/shang/expose-epic-fields-in-issu…
Browse files Browse the repository at this point in the history
…e-options

Expose epic_id field in issue create/update opts
  • Loading branch information
svanharmelen committed Jul 16, 2023
2 parents ed688b6 + 56fa04c commit 1af069e
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 1af069e

Please sign in to comment.