How do I insert newlines using --body
#588
-
I'm trying to create an issue like this:
This does not work as expected, instead creating a ticket whose body is literally |
Beta Was this translation helpful? Give feedback.
Answered by
ankitpokhrel
Mar 17, 2023
Replies: 1 comment 1 reply
-
Hi @RulerOf, You need to use ANCI-C Quoting. It is also demonstrated in one of the example in help. jira issue create --summary "Ticket Summary" --body $'Line 1\nLine2\nLine3' |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
ankitpokhrel
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @RulerOf, You need to use ANCI-C Quoting. It is also demonstrated in one of the example in help.