How to tell BitBucket Cloud not to shorten commit messages in Slack? Edited

Until now we've been using webhooks to get commit notifications in Slack. They work fine but I wanted to try the BitBucket Cloud application, due to simpler setup and advanced features. However, it shortens messages, how do I turn that off?

2018-04-02_17-09-40.jpeg

 

 

2 answers

3 votes

Hi @Remco Douma@Janne Husberg & @Mathieu Cruts,

I'm the lead for the Bitbucket Cloud for Slack project — thanks for your feedback!

We currently limit the commit message length to the first 50 characters of the first line of the commit. This was based on the 50/72 rule used for commit messages in large open source projects like the Linux kernel and the Git project itself, and also to minimize the chance of messages wrapping in the Slack UI.

However we've received a large amount of feedback from teams (like yourselves) that commonly use longer commit messages and would like to see more of the message in Slack. So we've decided to increase this limit to the first 200 characters of the first line of the commit. Does that sound reasonable?

cheers,

Tim

Mathieu Cruts I'm New Here Tuesday

Hi @Tim Pettersen

Thank you very much for the support! This will be perfect for our needs.

BR

Hi @Tim Pettersen, thanks for coming back on this. Much better than the 50 char limit of course, but personally I'd prefer no clipping at all. I don't care if lines wrap. Alternatively maybe make it an option?

Tim Pettersen Atlassian Team Tuesday

Hi @Remco Douma, thanks for the feedback. We do have to impose a limit of some kind due to platform restrictions, but we'll monitor how often we're truncating and revisit if needed. We can potentially add a config option, but I'm loathe to introduce them unless absolutely necessary due to the UX and implementation complexity they introduce.

Ok @Tim Pettersen, I do understand your hesitation surrounding config options. Like I said; 200 is better than 50. Maybe 1000 is better than 200, I don't know yet ;-)

0 vote

Hi Remco! Are you using this integration? If so, it's been created by Slack, so it would be a better idea to contact them and ask if there's a way to show the full commit message when using their integration. 

Hope that helps!

Ana

Hi Ana, I'm referring to this integration. According to Slack it's made by you!

So the top one is the one made by Slack and I'm looking at replacing it with yours it seems, but the clipped commit messages are a bit of a dealbreaker for me.

I am experiencing the exact same issue.

At least I'm not alone @Mathieu Cruts! Let's hope @Ana Retamal Ortiz will respond again...

Janne Husberg I'm New Here Tuesday

Same here, what's the ETA on an update? 

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
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

1,747 views 1 5
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