go-jira / jira

simple jira command line client in Go
Apache License 2.0
2.66k stars 323 forks source link

createmeta issue on jira 9.x - "Issue Does Not Exist" #490

Closed k-wall closed 1 year ago

k-wall commented 1 year ago

After a recent JIRA upgrade, go-jira jira create nows fails for me. Turning up logging shows:

DEBUG Request 1: GET /rest/api/2/issue/createmeta?projectKeys=MGDSTRM&expand=projects.issuetypes.fields HTTP/1.1

DEBUG Response 1: HTTP/2.0 404 Not Found

{"errorMessages":["Issue Does Not Exist"],"errors":{}}
k-wall commented 1 year ago

I found https://github.com/go-jira/jira/pull/480 which lead me to this user's work: https://github.com/prpht9/go-jira/commit/3c017959dcfb064f3b2e915d4c7b618853b23a61 which is working for me. It'd be great to see opened as a PR.

k-wall commented 1 year ago

Dup of #481