How can I get multi-line comments from my smart commits in JIRA?

The following should produce a multi-line comment in JIRA, instead it's cutoff after the carriage return:

KEY-123 #comment This should be a multi-line comment in JIRA:
1. Because it makes sense
2. Instead, the numbered list will be completely absent.

If I try something clever, like this:

KEY-345 #comment This should be a multi-line comment in JIRA:
#comment 1. Because this comment is clearly part of the comment above
#comment 2. Instead, I get THREE comments in JIRA

Why does this matter? Because smart commits should NOT force me to create illegible commit messages. Ever.

My commit messages should be able to stand on their own without any kerfuffle from some post-processing tool like FishEye + Crucible or JIRA or whatever...

Right now the only way to make this work is:

KEY-678 #comment Create some horrible run-on sentence that is posted to JIRA as a single line, but is, without a doubt, in complete violation of the normal git commit message best-practices... for instance, this thing I'm typing here is definitely more than 74 characters wide. And seriously, who think this: 1. Makes sense, 2. Over the first two examples I gave?

Help.

oh, and those little "tag-helpers" below - we have BitBucket, JIRA OnDemand and "Server" FishEye + Crucible...

1 answer

1 accepted

0 votes
Accepted answer

Hi, there.

According to the documentation, the comments in smart commits cannot span more than one line.

I found this feature request to allow it. You may want to vote for it and add yourself as a watcher.

 

I hope it was helpful.

Kind regards,
Jaime Kirch da Silveira.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,305 views 12 19
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you