ankitpokhrel / ankitpokhrel/jira-cli

Got response in unexpected format when fetching metadata

Offen
#388 6 Kommentare 3 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
hacktoberfest
Vorherrschende Sprache
Go
Sterne
6k
Forks
413
Ø Merge
2 T. 3 Std.
Gemergte PRs (30 T.)
1

Beschreibung

**Describe the bug**
`jira init` exits with the error `Got response in unexpected format when fetching metadata. Please try again`

**Please provide following details**
1. JiraCLI Version:
```
(Version="v0.3.0", GitCommit="", CommitDate="", GoVersion="go1.16.1", Compiler="gc", Platform="darwin/amd64")
```
2. Are you using Jira cloud or on-premise jira server? Also mention the version for on-premise installation.
```
Jira Cloud
```
3. What operating system are you using? Also mention version.
```
macOS Catalina 10.15.7
```
4. What terminal are you using? Also mention version.
```
alacritty 0.10.1 (2844606)
```

**To Reproduce**

Steps to reproduce the behavior:
1. export the `JIRA_API_TOKEN`
2. run `jira init`
3. Follow the prompts
After choosing the default board, the error is printed.

**Expected behavior**
Configuration finalization

**Screenshots**

**Additional context**
When running with the `--debug` flat, all responses are `200 OK`

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.