mirror of
https://github.com/interviewstreet/go-jira.git
synced 2025-07-01 00:25:00 +02:00
throwing prints around because I cant run tests locally
This commit is contained in:
2
issue.go
2
issue.go
@ -663,6 +663,8 @@ func (s *IssueService) Create(issue *Issue) (*Issue, *Response, error) {
|
|||||||
func (s *IssueService) UpdateWithOptions(issue *Issue, opts *UpdateQueryOptions) (*Issue, *Response, error) {
|
func (s *IssueService) UpdateWithOptions(issue *Issue, opts *UpdateQueryOptions) (*Issue, *Response, error) {
|
||||||
apiEndpoint := fmt.Sprintf("rest/api/3/issue/%v", issue.Key)
|
apiEndpoint := fmt.Sprintf("rest/api/3/issue/%v", issue.Key)
|
||||||
url, err := addOptions(apiEndpoint, opts)
|
url, err := addOptions(apiEndpoint, opts)
|
||||||
|
fmt.Println(url)
|
||||||
|
fmt.Println(issue)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, nil, err
|
return nil, nil, err
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user