ankitpokhrel / ankitpokhrel/jira-cli

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

Open
#930 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
6k
Forks
413
Avg merge
2d 3h
Merged PRs (30d)
1

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.