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.
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!
Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events