diff --git a/go.mod b/go.mod index 835419d2..670adb50 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/andygrunwald/go-jira/v2 +module github.com/andygrunwald/go-jira-search-v3/v1 go 1.21 diff --git a/onpremise/issue.go b/onpremise/issue.go index 729e445c..460477e2 100644 --- a/onpremise/issue.go +++ b/onpremise/issue.go @@ -1045,7 +1045,7 @@ func (s *IssueService) AddLink(ctx context.Context, issueLink *IssueLink) (*Resp // This double check effort is done for v2 - Remove this two lines if this is completed. func (s *IssueService) Search(ctx context.Context, jql string, options *SearchOptions) ([]Issue, *Response, error) { u := url.URL{ - Path: "rest/api/2/search", + Path: "rest/api/3/search/jql", } uv := url.Values{} if jql != "" {