Skip to content

Commit

Permalink
add nested access to fetch epic details
Browse files Browse the repository at this point in the history
  • Loading branch information
HandOfGod94 committed Jun 24, 2023
1 parent 92ad9e6 commit ad1a13c
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions pkg/jira_changelog/jira/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,15 @@ type Client struct {
}

type Issue struct {
Id string `json:"id"`
Key string `json:"key"`
Id string `json:"id"`
Key string `json:"key"`
Fields struct {
Parent struct {
Fields struct {
Summary string `json:"summary"`
} `json:"fields,omitempty"`
} `json:"parent,omitempty"`
} `json:"fields"`
}

func (c *Client) setupClient() {
Expand Down

0 comments on commit ad1a13c

Please sign in to comment.