Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.
×Hello~
My customer is using the Slack plugin installed on their Bitbucket Server.
My client wants to limit the sending of too much content when an event occurs on Bitbucket.
So I found the "slack.addon.unfurl.file.max.lines" option in the path below, and entered slack.addon.unfurl.file.max.lines=3 in bitbucket.properties, but it does not apply.
Is bitbucket.properties the correct setting place or is the setting correct? Or I'm wondering if I need to set it up somewhere else.
https://confluence.atlassian.com/slack/use-slack-and-bitbucket-server-together-974387205.html
Thank you.
Hey @Sung Hyun Ryu,
slack.addon.unfurl.file.max.lines should be set as an environment variable passed to the Bitbucket Server process. It should limit the size of repository file previews, when someone pastes a link to a source code in slack.
If that's not what you are looking for, there's also an option when configuring channel notifications for repositories. While creating or editing a connection between a channel and a repository, you can chose between Basic and Extended verbosity. Switching to Basic should reduce the amount of space notifications take in Slack.
Hope that helps. Cheers!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.