ankitpokhrel / ankitpokhrel/jira-cli

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

Aperta
#930 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_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**

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.