Using jira-cli, how can I set a multiline Description?

Raye Raskin
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 26, 2012

All the examples show a single line Description, much like Summary, but this is not very usable. I haven't been able to figure out how to set a multiline description.

How is this done?

Thanks!

2 answers

1 accepted

2 votes
Answer accepted
Bob Swift OSS (Bob Swift Atlassian Apps)
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 26, 2012

Yes, it isn't obvious :(. Best place to look for this type of thing is Examples . Use " \n " and the blanks are important.

Nick LaDieu June 11, 2014

I just tested this with createProject command

--description "A new Jira \n Project I\"' \n created" 

Result was the description was

A new Jira \n Project I"' \n created

I expected the \n to be newlines

Bob Swift OSS (Bob Swift Atlassian Apps)
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 11, 2014

You are correct, the conversion is done for some fields, but not that one. ACLI-171 will fix that.

0 votes
Nick LaDieu June 11, 2014

I just tested this with createProject command

--description "A new Jira \n Project I\"' \n created" 

Result was the description was

A new Jira \n Project I"' \n created

I expected the \n to be newlines

Suggest an answer

Log in or Sign up to answer