Skip to content

[bug] problem with parsing commandline arguments #39

Open
@msva

Description

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)

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions