andygrunwald / go-jira

Go client library for Atlassian Jira
https://pkg.go.dev/github.com/andygrunwald/go-jira?tab=doc
MIT License
1.47k stars 469 forks source link

Split Jira OnPremise and Jira Cloud clients #473

Open andygrunwald opened 2 years ago

andygrunwald commented 2 years ago

Context

The APIs between the two JIRA instances, On-premise and Cloud, differ from each other.

Current behavior

The current implementation covers one client that implements a wild mix between OnPremise API endpoints and Cloud API endpoints. This leads sometimes to bug reports and unexpected behavior because the API endpoints (URI) are equal, but the parameters differ.

Breaking change

This is a breaking change, is planned for v2 and need to be documented.

andygrunwald commented 2 years ago