go-jira / jira

simple jira command line client in Go
Apache License 2.0
2.68k stars 328 forks source link

subtask command throws an Invalid Usage error even though the parent issue exists. #496

Open vinayak-gadkari opened 1 year ago

vinayak-gadkari commented 1 year ago

With version 1.0.27, the subtask command throws an Invalid Usage error even though the parent issue exists. Other commands like list/browse work properly for the parent issue.

λ jira.exe version v1.0.27 λ jira.exe subtask DRD21-12345 usage: jira subtask [] []

Subtask issue

Global flags: -h, --help Show context-sensitive help (also try --help-long and --help-man). -v, --verbose ... Increase verbosity for debugging -e, --endpoint=ENDPOINT Base URI to use for Jira -k, --insecure Disable TLS certificate verification -Q, --quiet Suppress output to console --unixproxy=UNIXPROXY Path for a unix-socket proxy --socksproxy=SOCKSPROXY Address for a socks proxy -u, --user=USER user name used within the Jira service --login=LOGIN login name that corresponds to the user used for authentication

Optional flags: -b, --browse Open issue(s) in browser after operation --editor=EDITOR Editor to use -t, --template=TEMPLATE Template to use for output --noedit Disable opening the editor -p, --project=PROJECT project to subtask issue in -m, --comment=COMMENT Comment message for issue -o, --override=OVERRIDE ... Set issue property

Args: [] Parent issue for subtask

ERROR Invalid Usage: Issue Does Not Exist