ankitpokhrel / ankitpokhrel/jira-cli

JIRA_DEBUG=true works with `jira init` but not with `jira issue view`

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

Beschreibung

**Describe the bug**
JIRA_DEBUG=true does not work with `jira issue view` (and probably with most other commands). `--debug` does work

**Please provide following details**
1. JiraCLI Version:
```
(Version="1.7.0", GitCommit="refs/tags/v1.7.0", CommitDate="1970-01-01T00:00:00+00:00", GoVersion="go1.25.5", Compiler="gc", Platform="linux/amd64")
```
2. Are you using Jira cloud or on-premise jira server?
cloud

3. What operating system are you using? Also mention version.
```
NixOS
```
4. What terminal are you using? Also mention version.
```
kitty
```

**To Reproduce**

Steps to reproduce the behavior:
1. `JIRA_DEBUG=true jira issue view TICKET-ID`

no request details printed

**Expected behavior**
should behave the same as:

```
jira issue view --debug TICKET-ID
```

**Screenshots**

**Additional context**

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.