ankitpokhrel / ankitpokhrel/jira-cli

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

Ouverte
#1,001 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Go
Étoiles
6k
Forks
413
Merge moyen
2 j 3 h
PR mergées (30 j)
1

Description

**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 :)

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.