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 vote

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Sunday in Agility

You asked for it, so we delivered: images on issues have arrived

A picture tells a thousand words. And agility boards have just released their latest feature: cover images on issues – so now your board can tell a story at first glance. Upload attachmen...

231 views 2 11
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