Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug] problem with parsing commandline arguments #39

Open
msva opened this issue Jun 8, 2017 · 1 comment
Open

[bug] problem with parsing commandline arguments #39

msva opened this issue Jun 8, 2017 · 1 comment

Comments

@msva
Copy link

msva commented Jun 8, 2017

Looks like terjira has a problem with parsing commandline arguments (or unicode in them):

$ jira issue new -P Low -a mva -S '[Трекер] Конфиги веб-серверов (см. описание)' -d 'Необходимо пройтись по серверам (начиная с servername) и переделать конфигурации NginX и PHP-FPM на более пригодные для автоматизации управления конфигами' -p ADMIN
Choose issue type? Внедрение новой технологии
project: project is required # <- !! (-p was specified! But okay, let's remove it and set it interactively)

$ jira issue new -P Low -a mva -S '[Трекер] Конфиги веб-серверов (см. описание)' -d 'Необходимо пройтись по серверам (начиная с servername) и переделать конфигурации NginX и PHP-FPM на более пригодные для автоматизации управления конфигами'
Choose project? ADMIN - Server administration
Choose issue type? Внедрение новой технологии
summary: Operation value must be a string, description: Operation value must be a string

Pretty the same with posting comments from commandline arguments (both by issue comment and by issue trans -m). In both ways it fails to post comment (in trans it just ignores it, and in comment it throws error and requires to post interactively).

By the way, it probably must be reported as separate issue, but "intercative" mode in issue comment has issue with long lines (when you wrote a line longer then terminal window width, it duplicate the line many times (once for every time you type new letter)

@keepcosmos keepcosmos added the bug label Jun 14, 2017
@keepcosmos
Copy link
Owner

keepcosmos commented Jul 30, 2017

  1. I tried many times create issues like your example, but it's hard to figure out what problem is. In my case, It works right way. Can you debug or check you jira configuration?
    This bug is related to Message "project: project is required" when project is already specified #29

  2. Terjira uses tty-prompt for interactive mode. If you don't mind, please report your issue to tty-prompt.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants