1
0
mirror of https://github.com/interviewstreet/go-jira.git synced 2025-06-23 00:07:40 +02:00

feat: Add ResolutionService to retrieve resolutions

This commit is contained in:
Thibaut Rousseau
2018-06-25 17:48:53 +02:00
parent 98a84a4c00
commit fb1ce22699
6 changed files with 212 additions and 9 deletions

View File

@ -37,6 +37,7 @@ type Client struct {
Version *VersionService
Priority *PriorityService
Field *FieldService
Resolution *ResolutionService
}
// NewClient returns a new JIRA API client.
@ -75,6 +76,7 @@ func NewClient(httpClient *http.Client, baseURL string) (*Client, error) {
c.Version = &VersionService{client: c}
c.Priority = &PriorityService{client: c}
c.Field = &FieldService{client: c}
c.Resolution = &ResolutionService{client: c}
return c, nil
}