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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

216 views 1 18
Join discussion

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