foxythemes / jira-cli

A jira user friendly command line client
https://jiracli.com
MIT License
205 stars 40 forks source link

Can't `jira init` in a cloud selfhosted instance #84

Closed adezxc closed 1 month ago

adezxc commented 1 month ago

When I try to authenticate using jira init I go through all the steps but fail when I get to choose the board type, with --debug flag here's the output:

GET /rest/api/2/myself HTTP/1.1
Host: jira-instance
Authorization: Bearer <>

⠹ Fetching projects...

REQUEST DETAILS
------------------------------------------------------------

GET /rest/api/2/project?expand=lead HTTP/1.1
Host: jira-instance
Authorization: Bearer <>
⠏ Fetching boards for project 'DMGTM'...

REQUEST DETAILS
------------------------------------------------------------

GET /rest/agile/1.0/board?projectKeyOrId=DMGTM HTTP/1.1
Host: jira-instance
Authorization: Bearer <>

⠙ Configuring metadata. Please wait...

REQUEST DETAILS
------------------------------------------------------------

GET /rest/api/2/issue/createmeta?projectKeys=DMGTM&expand=projects.issuetypes.fields HTTP/1.1
Host: jira-instance
Authorization: Bearer <>

✗ Received unexpected response '404 ' from jira. Please try again.

Could it be due to the endpoint "Create Meta" being deprecated? (https://developer.atlassian.com/cloud/jira/platform/changelog/#CHANGE-1304)

I would also be interested in contributing to this and changing the functionality accordingly.

adezxc commented 1 month ago

Sorry, wrong repo