jira-cli icon indicating copy to clipboard operation
jira-cli copied to clipboard

An "issue view details" action not working

Open YouSysAdmin opened this issue 9 months ago • 4 comments

Describe the bug Action "v to view selected issue details" doesn't work, just blink, but after quit from cli all information is present in a terminal.

Please provide following details

  1. JiraCLI Version:
    (Version="1.5.2", GitCommit="Homebrew", CommitDate="2024-09-20T08:29:56+00:00", GoVersion="go1.24.0", Compiler="gc", Platform="darwin/arm64")
    
  2. Are you using Jira cloud or on-premise jira server?
    Cloud
    
  3. What operating system are you using? Also mention version.
    MacOS Sequoia 15.3.2
    
  4. What terminal are you using? Also mention version.
    iTerm 2 Build 3.5.11
    

To Reproduce

Steps to reproduce the behavior:

  1. jira issue list

Expected behavior Shows issue details inside TUI

Screenshots slightly damaged interface is a defect in the “recording” of the terminal Image

Additional context I'm a new jira-cli user, maybe this is not a bug but a feature, I don't know :D

YouSysAdmin avatar Mar 20 '25 11:03 YouSysAdmin

same for me on windows (Version="1.5.2", GitCommit="34221786aaa12d5bc66039d164b6d9587b0799c7", CommitDate="2024-09-20T08: 29:56+00:00", GoVersion="go1. 23.1", Compiler="gc", Platform="windows/amd64")

Threnklyn avatar Mar 26 '25 11:03 Threnklyn

I'm also having this issue. After some testing I can see that during the blink it shows the issue details for a fraction of a second and then closes it again, and goes back to the list.

(Version="1.6.0", GitCommit="6a6611ce59f1a85203b021af9113b2a4e82ecaef", CommitDate="2025-04-19T09:33:11+00:00", GoVersion="go1.24.1", Compiler="gc", Platform="windows/amd64")

After closing the list TUI, I can see that the issue details were printed to the terminal in the background. maybe there is no "viewer" for windows?

ikkentim avatar Jul 24 '25 13:07 ikkentim

yep, looks like there is no pager configured for windows

https://github.com/ankitpokhrel/jira-cli/blob/main/pkg/tui/helper.go#L87

ikkentim avatar Jul 24 '25 13:07 ikkentim

@ikkentim

❯ echo $PAGER
less

I have a pager set up, but the problem is still relevant - the * v to view selected issue details function outputs everything to the console and not to TUI

YouSysAdmin avatar Jul 28 '25 12:07 YouSysAdmin