ankitpokhrel / jira-cli

🔥 Feature-rich interactive Jira command line.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

No-Input flag breaks Epic Creation with body flag

polymorcodeus opened this issue · comments

Describe the bug

Please provide following details

  1. JiraCLI Version:
    (Version="1.3.0", GitCommit="ed84fe74f68ba1b2cf0504a931ca09a03b2c9fed", CommitDate="2023-01-02T09:59:32+00:00", GoVersion="go1.19.4", Compiler="gc", Platform="darwin/arm64")
    
  2. Are you using Jira cloud or on-premise jira server?
    Jira Cloud
    
  3. What operating system are you using? Also mention version.
    macOS Venture 13.3.1
    
  4. What terminal are you using? Also mention version.
    Warp v0.2023.04.11.08.03.stable_00
    

To Reproduce

Steps to reproduce the behavior:
Use example to create an Epic and also use flag --no-input

jira epic create -n"Epic epic" -s"Everything" -b"Epic description" -yHigh -lbug -lurgent --no-input
Creates Epic without description.

Expected behavior

Creates

  • Epic with name "Epic epic"
  • Summary title with "Everything"
  • Description "Epic Description"

and not prompted to submit.

Screenshots

Additional context

This appears only with jira epic create - I can jira issue create via the above syntax without issue.

Current workaround:
echo "Epic description" | jira epic create -n"Epic epic" -s"Everything" -yHigh -lbug -lurgent --no-input
behaves as expected