Open
Description
Describe the bug
when adding a comment which contains dash, paranteses or underscore, it is displayed with a backslash before it in jira
Please provide following details
- JiraCLI Version:
(Version="1.6.0", GitCommit="Homebrew", CommitDate="2025-04-19T09:33:11+00:00", GoVersion="go1.24.2", Compiler="gc", Platform="linux/amd64")
- Are you using Jira cloud or on-premise jira server?
SERVER INFO
-----------
Version: 9.12.22
Build Number: 9120022
Deployment Type: Server
Default Locale:
- What operating system are you using? Also mention version.
Linux Fedora 42
- What terminal are you using? Also mention version.
terminator - terminator-2.1.4-4.fc42.1.noarch
To Reproduce
Steps to reproduce the behavior:
- Add a comment as below into a file name test.tmpl
This is a problematic comment:
{code:bash}
echo "my test - - - _ _ _ ( ( ( ) ) )"
{code}
- Execute the command:
jira issue comment add MY-ISSUE-123 --template ./test.tmpl --no-input
Expected behavior
I expect to do not have backslashes in the comment
Screenshots
Additional context
Metadata
Metadata
Assignees
Labels
No labels