ankitpokhrel / ankitpokhrel/jira-cli

Jira Cloud: Fetching boards during `jira init` produces 500 Internal Server Error

Aperta
#1,001 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Go
Stelle
6k
Fork
413
Merge medio
2g 3h
PR unite (30g)
1

Descrizione

**Describe the bug**

`jira init` cannot be completed towards jira cloud. (at least not our setup).

```
jira init
? Config already exist. Do you want to overwrite? Yes
? Installation type: Cloud
? Link to Jira server: https://COMPANY.atlassian.net
? Login email: my.name@company.com
? Default project: PROJECT

.. Fetching boards for project PROJECT ..

✗ Received unexpected response '500 Internal Server Error' from jira. Please try again.
```

**Please provide following details**
1. JiraCLI Version:
```
(Version="1.7.0", GitCommit="Homebrew", CommitDate="2025-08-30T08:30:25+00:00", GoVersion="go1.25.5", Compiler="gc", Platform="darwin/arm64")
```
2. Are you using Jira cloud or on-premise jira server?
Jira Cloud. Cannot paste serverinfo as init doesn't finish.
3. What operating system are you using? Also mention version.
```
macOS Tahoe 26.5.1
```
4. What terminal are you using? Also mention version.
```
- iTerm 2 Build 3.6.9
- built in terminal in vccode Version: 1.120.0 (Universal)
```

**To Reproduce**

Steps to reproduce the behavior:
1. `jira init`
2. Choose cloud
3. Paste link to jira
4. Type login email
5. Choose default project
6. See error

**Expected behavior**

`jira init` should finish without error

**Screenshots**

Already included the full output above.

**Additional context**

A 500 error seems to indicate that the problem is on the Jira side, but using the v1 API for listing boards, I also get a 500. However, using the v3 API, it works. This leads me to think that perhaps the CLI is using the version 1 API for cloud, which seems to be deprecated. If, not feel free to correct me :)

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.