From 75ee9be3a41ebb2bae57d38e02d8476f06b5b024 Mon Sep 17 00:00:00 2001 From: Yoan Wainmann Date: Wed, 25 Mar 2026 17:30:10 +0200 Subject: [PATCH] fix: --plain flag should imply --table in sprint list When using `jira sprint list --plain`, the --plain flag was ignored because only --table was checked in the TUI vs table mode decision. Adding plain to the condition so --plain bypasses the TUI explorer and renders a plain table, matching user expectations. Closes #968 --- internal/cmd/sprint/list/list.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/cmd/sprint/list/list.go b/internal/cmd/sprint/list/list.go index ac3098f9..fccd08b8 100644 --- a/internal/cmd/sprint/list/list.go +++ b/internal/cmd/sprint/list/list.go @@ -258,7 +258,7 @@ func sprintExplorerView(sprintQuery *query.Sprint, flags query.FlagParser, board table, err := flags.GetBool("table") cmdutil.ExitIfError(err) - if table || tui.IsDumbTerminal() || tui.IsNotTTY() { + if table || plain || tui.IsDumbTerminal() || tui.IsNotTTY() { cmdutil.ExitIfError(v.RenderInTable()) } else { cmdutil.ExitIfError(v.Render())