{"componentChunkName":"component---src-templates-doc-tsx","path":"/product/integrations/bitbucket/","result":{"data":{"file":{"id":"1cc8f5f9-77b6-51a2-a777-a1c1de165b5d","relativePath":"product/integrations/bitbucket/index.mdx","sourceInstanceName":"docs","childMarkdownRemark":null,"childMdx":{"body":"function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\n/* @jsx mdx */\nvar _frontmatter = {\n  \"title\": \"BitBucket\",\n  \"sidebar_order\": 1,\n  \"redirect_from\": [\"/workflow/integrations/bitbucket/\", \"/workflow/integrations/legacy-integrations/bitbucket/\", \"/workflow/integrations/global-integrations/bitbucket/\"]\n};\n\nvar makeShortcode = function makeShortcode(name) {\n  return function MDXDefaultShortcode(props) {\n    console.warn(\"Component \" + name + \" was not imported, exported, or provided by MDXProvider as global scope\");\n    return mdx(\"div\", props);\n  };\n};\n\nvar Note = makeShortcode(\"Note\");\nvar CodeTabs = makeShortcode(\"CodeTabs\");\nvar CodeBlock = makeShortcode(\"CodeBlock\");\nvar layoutProps = {\n  _frontmatter: _frontmatter\n};\nvar MDXLayout = \"wrapper\";\nreturn function MDXContent(_ref) {\n  var components = _ref.components,\n      props = _objectWithoutProperties(_ref, [\"components\"]);\n\n  return mdx(MDXLayout, _extends({}, layoutProps, props, {\n    components: components,\n    mdxType: \"MDXLayout\"\n  }), mdx(\"p\", null, \"Track and resolve bugs faster by using data from your BitBucket commits.\"), mdx(\"p\", null, \"This integration needs to set up only once per organization, then it is available for \", mdx(\"em\", {\n    parentName: \"p\"\n  }, \"all\"), \" projects.\"), mdx(\"h2\", {\n    \"id\": \"install\",\n    \"style\": {\n      \"position\": \"relative\"\n    }\n  }, mdx(\"a\", _extends({\n    parentName: \"h2\"\n  }, {\n    \"href\": \"#install\",\n    \"aria-label\": \"install permalink\",\n    \"className\": \"anchor before\"\n  }), mdx(\"svg\", _extends({\n    parentName: \"a\"\n  }, {\n    \"viewBox\": \"0 0 24 24\",\n    \"xmlns\": \"http://www.w3.org/2000/svg\"\n  }), mdx(\"path\", _extends({\n    parentName: \"svg\"\n  }, {\n    \"d\": \"M10.879 6.05L15 1.93A5.001 5.001 0 0 1 22.071 9l-4.121 4.121a1 1 0 0 1-1.414-1.414l4.12-4.121a3 3 0 1 0-4.242-4.243l-4.121 4.121a1 1 0 1 1-1.414-1.414zm2.242 11.9L9 22.07A5 5 0 1 1 1.929 15l4.121-4.121a1 1 0 0 1 1.414 1.414l-4.12 4.121a3 3 0 1 0 4.242 4.243l4.121-4.121a1 1 0 1 1 1.414 1.414zm-8.364-.122l13.071-13.07a1 1 0 0 1 1.415 1.414L6.172 19.242a1 1 0 1 1-1.415-1.414z\",\n    \"fill\": \"currentColor\"\n  })))), \"Install\"), mdx(Note, {\n    mdxType: \"Note\"\n  }, mdx(\"markdown\", null, mdx(\"p\", null, \"Sentry owner or manager permissions, and Bitbucket admin permissions are required to install this integration.\"))), mdx(\"ol\", null, mdx(\"li\", {\n    parentName: \"ol\"\n  }, \"Navigate to \", mdx(\"strong\", {\n    parentName: \"li\"\n  }, \"Settings > Integrations > Bitbucket\"), \".\")), mdx(\"p\", null, mdx(\"span\", _extends({\n    parentName: \"p\"\n  }, {\n    \"className\": \"gatsby-resp-image-wrapper\",\n    \"style\": {\n      \"position\": \"relative\",\n      \"display\": \"block\",\n      \"marginLeft\": \"auto\",\n      \"marginRight\": \"auto\",\n      \"maxWidth\": \"1200px\"\n    }\n  }), \"\\n      \", mdx(\"a\", _extends({\n    parentName: \"span\"\n  }, {\n    \"className\": \"gatsby-resp-image-link\",\n    \"href\": \"/static/46f4d9c6fb4661326b03c9b7702b3291/aa440/bitbucket-install-pg.png\",\n    \"style\": {\n      \"display\": \"block\"\n    },\n    \"target\": \"_blank\",\n    \"rel\": \"noopener\"\n  }), \"\\n    \", mdx(\"span\", _extends({\n    parentName: \"a\"\n  }, {\n    \"className\": \"gatsby-resp-image-background-image\",\n    \"style\": {\n      \"paddingBottom\": \"63%\",\n      \"position\": \"relative\",\n      \"bottom\": \"0\",\n      \"left\": \"0\",\n      \"backgroundImage\": \"url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAANCAIAAAAmMtkJAAAACXBIWXMAAAsSAAALEgHS3X78AAAByklEQVQoz22S227UMBCG/f7XvAZSAalUCMEbcINQtS3bbI6b+HyK7SR2wjirLlTsaDS2rDjz/f8Yvfs+Hg+HXz8fD4/PkivBFcXcaDuFafkn5nnZtvT7iX/+8PL1vry/K4qjQO9/TIqQ07GpiqZvMRt4W/Vd3RtlYoxvL8eXZ/Hl0+nbQ/Xw8VQWEilKnA+j9aNx8MW6rtsGZU0pxde4/gKOt9eAPeparpWBVEoD7Tg6C2XPvIHV2jBNU5jd6EOYoEEIMyRsUFmWWiklFeecEMoYI4SwvHKCCWecEhZCcM61TTf0A3x5ZUGMCka5knpn3lIC4L1GwE7j5KXXUIFIaiuNs6O/qkB4IE3dNc0ZfNY68xttjPXWzSBwTnGc/ZwWztipIS11XPurCQgwQK3K5JJSNgwZlXMphPbeA613YVkiSATl8277385VWbftue/6sijxgMGk3Bl6A4HSUqrLzC+ux+VNIGud1lYBrQFnYVoRaGNcIVNcp7iAYD/t5v4XqD/jumrqqj13A87MwjsPhkWY8wKGOe4U3F9uBYJ5YLzPhjJK6NBjgAelwYctv5fLe1hvd9bZLa13nVJIwYXIMxdwmPaI+1O7efkPeXvkqeucGaQAAAAASUVORK5CYII=')\",\n      \"backgroundSize\": \"cover\",\n      \"display\": \"block\"\n    }\n  })), \"\\n  \", mdx(\"img\", _extends({\n    parentName: \"a\"\n  }, {\n    \"className\": \"gatsby-resp-image-image\",\n    \"alt\": \"bitbucket install pg\",\n    \"title\": \"bitbucket install pg\",\n    \"src\": \"/static/46f4d9c6fb4661326b03c9b7702b3291/c1b63/bitbucket-install-pg.png\",\n    \"srcSet\": [\"/static/46f4d9c6fb4661326b03c9b7702b3291/5a46d/bitbucket-install-pg.png 300w\", \"/static/46f4d9c6fb4661326b03c9b7702b3291/0a47e/bitbucket-install-pg.png 600w\", \"/static/46f4d9c6fb4661326b03c9b7702b3291/c1b63/bitbucket-install-pg.png 1200w\", \"/static/46f4d9c6fb4661326b03c9b7702b3291/aa440/bitbucket-install-pg.png 1500w\"],\n    \"sizes\": \"(max-width: 1200px) 100vw, 1200px\",\n    \"style\": {\n      \"width\": \"100%\",\n      \"height\": \"100%\",\n      \"margin\": \"0\",\n      \"verticalAlign\": \"middle\",\n      \"position\": \"absolute\",\n      \"top\": \"0\",\n      \"left\": \"0\"\n    },\n    \"loading\": \"lazy\"\n  })), \"\\n  \"), \"\\n    \")), mdx(\"ol\", {\n    \"start\": 2\n  }, mdx(\"li\", {\n    parentName: \"ol\"\n  }, mdx(\"p\", {\n    parentName: \"li\"\n  }, \"If you have the legacy Bitbucket integration installed, use the button next to Bitbucket to \", mdx(\"strong\", {\n    parentName: \"p\"\n  }, \"Upgrade\"), \". If you don't have the legacy Bitbucket integration installed, use the button to \", mdx(\"strong\", {\n    parentName: \"p\"\n  }, \"Install\"), \".\")), mdx(\"li\", {\n    parentName: \"ol\"\n  }, mdx(\"p\", {\n    parentName: \"li\"\n  }, \"In the resulting modal, click \\\"Add Installation\\\".\")), mdx(\"li\", {\n    parentName: \"ol\"\n  }, mdx(\"p\", {\n    parentName: \"li\"\n  }, \"A Bitbucket install window should pop up. Select the Bitbucket account you'd like to grant Sentry access to, and click \\\"Grant Access\\\".\")), mdx(\"li\", {\n    parentName: \"ol\"\n  }, mdx(\"p\", {\n    parentName: \"li\"\n  }, \"On your new Bitbucket instance in Sentry, click \\\"Configure\\\".\"), mdx(\"p\", {\n    parentName: \"li\"\n  }, mdx(\"span\", _extends({\n    parentName: \"p\"\n  }, {\n    \"className\": \"gatsby-resp-image-wrapper\",\n    \"style\": {\n      \"position\": \"relative\",\n      \"display\": \"block\",\n      \"marginLeft\": \"auto\",\n      \"marginRight\": \"auto\",\n      \"maxWidth\": \"1200px\"\n    }\n  }), \"\\n      \", mdx(\"a\", _extends({\n    parentName: \"span\"\n  }, {\n    \"className\": \"gatsby-resp-image-link\",\n    \"href\": \"/static/2abbca1c1b16518603c2081c7115594f/f5aa5/bitbucket-installed.png\",\n    \"style\": {\n      \"display\": \"block\"\n    },\n    \"target\": \"_blank\",\n    \"rel\": \"noopener\"\n  }), \"\\n    \", mdx(\"span\", _extends({\n    parentName: \"a\"\n  }, {\n    \"className\": \"gatsby-resp-image-background-image\",\n    \"style\": {\n      \"paddingBottom\": \"58.00000000000001%\",\n      \"position\": \"relative\",\n      \"bottom\": \"0\",\n      \"left\": \"0\",\n      \"backgroundImage\": \"url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAMCAIAAADtbgqsAAAACXBIWXMAAAsSAAALEgHS3X78AAABQUlEQVQoz4WS2W4CMQxF5/8/sG9tVagKYoasTpzFyfRmQEggSq+sKIq8HDueArFzYXYUAxNFZ6mWKiK13hlUSo2RccrlsciklY0xtdaNsd/7g7NepD1E3gyR2+XqgGCXOEvrOUZ1WgCClDmVJ5avl5ECPrlMHFOVtnbZKXnbk9OqFGlDvT1R7+saIlvjSq4TygKgiThe9zpb8nhpIIHf8LxTT9xCKEQlF9mwzcBAeEnGWqU9sMZ8xtOW4KZ1FfJZ6erd4MXAjodTCBFZ5+X89bkzmF9A23X9W6CHD0pO5ENKo0v2bJVVyqizxjBeB/MlWC3GaN9qmX3/OOVeM/gege+FnlDyUjkyZ5TyIfwcjpHi2IF/sHvG76LnbXvGHzhPy7yMLnjszGts72hUHntTBSgzyfuJ9XI2BgOvL7G3geXyC2V7vdFQDOlbAAAAAElFTkSuQmCC')\",\n      \"backgroundSize\": \"cover\",\n      \"display\": \"block\"\n    }\n  })), \"\\n  \", mdx(\"img\", _extends({\n    parentName: \"a\"\n  }, {\n    \"className\": \"gatsby-resp-image-image\",\n    \"alt\": \"bitbucket installed\",\n    \"title\": \"bitbucket installed\",\n    \"src\": \"/static/2abbca1c1b16518603c2081c7115594f/c1b63/bitbucket-installed.png\",\n    \"srcSet\": [\"/static/2abbca1c1b16518603c2081c7115594f/5a46d/bitbucket-installed.png 300w\", \"/static/2abbca1c1b16518603c2081c7115594f/0a47e/bitbucket-installed.png 600w\", \"/static/2abbca1c1b16518603c2081c7115594f/c1b63/bitbucket-installed.png 1200w\", \"/static/2abbca1c1b16518603c2081c7115594f/d61c2/bitbucket-installed.png 1800w\", \"/static/2abbca1c1b16518603c2081c7115594f/f5aa5/bitbucket-installed.png 2312w\"],\n    \"sizes\": \"(max-width: 1200px) 100vw, 1200px\",\n    \"style\": {\n      \"width\": \"100%\",\n      \"height\": \"100%\",\n      \"margin\": \"0\",\n      \"verticalAlign\": \"middle\",\n      \"position\": \"absolute\",\n      \"top\": \"0\",\n      \"left\": \"0\"\n    },\n    \"loading\": \"lazy\"\n  })), \"\\n  \"), \"\\n    \"))), mdx(\"li\", {\n    parentName: \"ol\"\n  }, mdx(\"p\", {\n    parentName: \"li\"\n  }, \"Add any repositories from which you want to collect commit data.\"), mdx(\"p\", {\n    parentName: \"li\"\n  }, mdx(\"span\", _extends({\n    parentName: \"p\"\n  }, {\n    \"className\": \"gatsby-resp-image-wrapper\",\n    \"style\": {\n      \"position\": \"relative\",\n      \"display\": \"block\",\n      \"marginLeft\": \"auto\",\n      \"marginRight\": \"auto\",\n      \"maxWidth\": \"1200px\"\n    }\n  }), \"\\n      \", mdx(\"a\", _extends({\n    parentName: \"span\"\n  }, {\n    \"className\": \"gatsby-resp-image-link\",\n    \"href\": \"/static/5bd345f1263896379cd6da1974d5a0e1/ec5f6/bitbucket-add-repo.png\",\n    \"style\": {\n      \"display\": \"block\"\n    },\n    \"target\": \"_blank\",\n    \"rel\": \"noopener\"\n  }), \"\\n    \", mdx(\"span\", _extends({\n    parentName: \"a\"\n  }, {\n    \"className\": \"gatsby-resp-image-background-image\",\n    \"style\": {\n      \"paddingBottom\": \"43.333333333333336%\",\n      \"position\": \"relative\",\n      \"bottom\": \"0\",\n      \"left\": \"0\",\n      \"backgroundImage\": \"url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAJCAIAAAC9o5sfAAAACXBIWXMAAAsSAAALEgHS3X78AAAA40lEQVQoz31Ri27CMAzs/38i0jZWChWieb9jF3ZtWKeB4GQ5luVzzna3+xjG42iNCyHOM78yXvwjOu9DDCmlDNR3oPaUXGKIqCeiTly0lrYWem8FnQtR5RSzmKR3AZnutuK64O43QNgWW+3O4wXMma+rzejV3f4DBAijSpgi+gidORdkUkhSGO9iU7FY+f0ZFdiZs15Oav/ZD/3p++vQfL8/DoeTmJRWVkmNUZtE7PBOZmatzFph0MVoi0YIlNAIvA1SKDCNNttgf+RnYP1iErXUVwULuR2SnwBaG/4hv92eiX8AGewMl3xqZLQAAAAASUVORK5CYII=')\",\n      \"backgroundSize\": \"cover\",\n      \"display\": \"block\"\n    }\n  })), \"\\n  \", mdx(\"img\", _extends({\n    parentName: \"a\"\n  }, {\n    \"className\": \"gatsby-resp-image-image\",\n    \"alt\": \"bitbucket add repo\",\n    \"title\": \"bitbucket add repo\",\n    \"src\": \"/static/5bd345f1263896379cd6da1974d5a0e1/c1b63/bitbucket-add-repo.png\",\n    \"srcSet\": [\"/static/5bd345f1263896379cd6da1974d5a0e1/5a46d/bitbucket-add-repo.png 300w\", \"/static/5bd345f1263896379cd6da1974d5a0e1/0a47e/bitbucket-add-repo.png 600w\", \"/static/5bd345f1263896379cd6da1974d5a0e1/c1b63/bitbucket-add-repo.png 1200w\", \"/static/5bd345f1263896379cd6da1974d5a0e1/d61c2/bitbucket-add-repo.png 1800w\", \"/static/5bd345f1263896379cd6da1974d5a0e1/ec5f6/bitbucket-add-repo.png 1852w\"],\n    \"sizes\": \"(max-width: 1200px) 100vw, 1200px\",\n    \"style\": {\n      \"width\": \"100%\",\n      \"height\": \"100%\",\n      \"margin\": \"0\",\n      \"verticalAlign\": \"middle\",\n      \"position\": \"absolute\",\n      \"top\": \"0\",\n      \"left\": \"0\"\n    },\n    \"loading\": \"lazy\"\n  })), \"\\n  \"), \"\\n    \")))), mdx(\"p\", null, \"Bitbucket should now be enabled for all projects under your Sentry organization.\"), mdx(\"h3\", {\n    \"id\": \"bitbucket-server\",\n    \"style\": {\n      \"position\": \"relative\"\n    }\n  }, mdx(\"a\", _extends({\n    parentName: \"h3\"\n  }, {\n    \"href\": \"#bitbucket-server\",\n    \"aria-label\": \"bitbucket server permalink\",\n    \"className\": \"anchor before\"\n  }), mdx(\"svg\", _extends({\n    parentName: \"a\"\n  }, {\n    \"viewBox\": \"0 0 24 24\",\n    \"xmlns\": \"http://www.w3.org/2000/svg\"\n  }), mdx(\"path\", _extends({\n    parentName: \"svg\"\n  }, {\n    \"d\": \"M10.879 6.05L15 1.93A5.001 5.001 0 0 1 22.071 9l-4.121 4.121a1 1 0 0 1-1.414-1.414l4.12-4.121a3 3 0 1 0-4.242-4.243l-4.121 4.121a1 1 0 1 1-1.414-1.414zm2.242 11.9L9 22.07A5 5 0 1 1 1.929 15l4.121-4.121a1 1 0 0 1 1.414 1.414l-4.12 4.121a3 3 0 1 0 4.242 4.243l4.121-4.121a1 1 0 1 1 1.414 1.414zm-8.364-.122l13.071-13.07a1 1 0 0 1 1.415 1.414L6.172 19.242a1 1 0 1 1-1.415-1.414z\",\n    \"fill\": \"currentColor\"\n  })))), \"Bitbucket Server\"), mdx(\"h4\", {\n    \"id\": \"generate-an-rsa-publicprivate-key-pair\",\n    \"style\": {\n      \"position\": \"relative\"\n    }\n  }, mdx(\"a\", _extends({\n    parentName: \"h4\"\n  }, {\n    \"href\": \"#generate-an-rsa-publicprivate-key-pair\",\n    \"aria-label\": \"generate an rsa publicprivate key pair permalink\",\n    \"className\": \"anchor before\"\n  }), mdx(\"svg\", _extends({\n    parentName: \"a\"\n  }, {\n    \"viewBox\": \"0 0 24 24\",\n    \"xmlns\": \"http://www.w3.org/2000/svg\"\n  }), mdx(\"path\", _extends({\n    parentName: \"svg\"\n  }, {\n    \"d\": \"M10.879 6.05L15 1.93A5.001 5.001 0 0 1 22.071 9l-4.121 4.121a1 1 0 0 1-1.414-1.414l4.12-4.121a3 3 0 1 0-4.242-4.243l-4.121 4.121a1 1 0 1 1-1.414-1.414zm2.242 11.9L9 22.07A5 5 0 1 1 1.929 15l4.121-4.121a1 1 0 0 1 1.414 1.414l-4.12 4.121a3 3 0 1 0 4.242 4.243l4.121-4.121a1 1 0 1 1 1.414 1.414zm-8.364-.122l13.071-13.07a1 1 0 0 1 1.415 1.414L6.172 19.242a1 1 0 1 1-1.415-1.414z\",\n    \"fill\": \"currentColor\"\n  })))), \"Generate an RSA public/private key pair\"), mdx(\"p\", null, \"To generate an RSA public/private key pair, run the following commands in your terminal window one by one.\"), mdx(\"div\", {\n    \"className\": \"code-tabs-wrapper\"\n  }, mdx(CodeTabs, {\n    mdxType: \"CodeTabs\"\n  }, mdx(CodeBlock, {\n    language: \"\",\n    title: \"\",\n    filename: \"\",\n    mdxType: \"CodeBlock\"\n  }, mdx(\"div\", _extends({\n    parentName: \"div\"\n  }, {\n    \"className\": \"gatsby-highlight\",\n    \"data-language\": \"text\"\n  }), mdx(\"pre\", _extends({\n    parentName: \"div\"\n  }, {\n    \"className\": \"language-text\"\n  }), mdx(\"code\", _extends({\n    parentName: \"pre\"\n  }, {\n    \"className\": \"language-text\"\n  }), \"openssl genrsa -out bitbucket_privatekey.pem 1024\\nopenssl req -newkey rsa:1024 -x509 -key bitbucket_privatekey.pem -out bitbucket_publickey.cer -days 365\\nopenssl pkcs8 -topk8 -nocrypt -in bitbucket_privatekey.pem -out bitbucket_privatekey.pcks8\\nopenssl x509 -pubkey -noout -in bitbucket_publickey.cer  > bitbucket_publickey.pem\")))))), mdx(\"h4\", {\n    \"id\": \"create-a-new-application-link-in-bitbucket\",\n    \"style\": {\n      \"position\": \"relative\"\n    }\n  }, mdx(\"a\", _extends({\n    parentName: \"h4\"\n  }, {\n    \"href\": \"#create-a-new-application-link-in-bitbucket\",\n    \"aria-label\": \"create a new application link in bitbucket permalink\",\n    \"className\": \"anchor before\"\n  }), mdx(\"svg\", _extends({\n    parentName: \"a\"\n  }, {\n    \"viewBox\": \"0 0 24 24\",\n    \"xmlns\": \"http://www.w3.org/2000/svg\"\n  }), mdx(\"path\", _extends({\n    parentName: \"svg\"\n  }, {\n    \"d\": \"M10.879 6.05L15 1.93A5.001 5.001 0 0 1 22.071 9l-4.121 4.121a1 1 0 0 1-1.414-1.414l4.12-4.121a3 3 0 1 0-4.242-4.243l-4.121 4.121a1 1 0 1 1-1.414-1.414zm2.242 11.9L9 22.07A5 5 0 1 1 1.929 15l4.121-4.121a1 1 0 0 1 1.414 1.414l-4.12 4.121a3 3 0 1 0 4.242 4.243l4.121-4.121a1 1 0 1 1 1.414 1.414zm-8.364-.122l13.071-13.07a1 1 0 0 1 1.415 1.414L6.172 19.242a1 1 0 1 1-1.415-1.414z\",\n    \"fill\": \"currentColor\"\n  })))), \"Create a new application link in Bitbucket\"), mdx(\"ol\", null, mdx(\"li\", {\n    parentName: \"ol\"\n  }, mdx(\"p\", {\n    parentName: \"li\"\n  }, \"In Bitbucket, click the gear icon, then \", mdx(\"strong\", {\n    parentName: \"p\"\n  }, \"Applications > Application Links\"), \".\")), mdx(\"li\", {\n    parentName: \"ol\"\n  }, mdx(\"p\", {\n    parentName: \"li\"\n  }, \"Enter the following as the application URL:\\n\", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"https://sentry.io/extensions/bitbucket_server/setup/\"))), mdx(\"li\", {\n    parentName: \"ol\"\n  }, mdx(\"p\", {\n    parentName: \"li\"\n  }, \"Click \\\"Create New Link\\\". If you see a warning that \\u201CNo response was received from the URL you entered,\\u201D ignore and click \\\"Continue\\\".\")), mdx(\"li\", {\n    parentName: \"ol\"\n  }, mdx(\"p\", {\n    parentName: \"li\"\n  }, \"In the resulting dialog, fill out the form as follows:\"), mdx(\"table\", null, mdx(\"tr\", null, mdx(\"th\", null, \"Application Name\"), mdx(\"td\", null, \"Sentry\")), mdx(\"tr\", null, mdx(\"th\", null, \"Application Type\"), mdx(\"td\", null, \"Generic Application\")), mdx(\"tr\", null, mdx(\"th\", null, \"Service Provider Name\"), mdx(\"td\", null, \"Sentry\")), mdx(\"tr\", null, mdx(\"th\", null, \"Consumer Key\"), mdx(\"td\", null, \"(your choice, but keep this handy for the next step)\")), mdx(\"tr\", null, mdx(\"th\", null, \"Shared Secret\"), mdx(\"td\", null, \"sentry\")), mdx(\"tr\", null, mdx(\"th\", null, \"Request Token URL\"), mdx(\"td\", null, \"https://sentry.io\")), mdx(\"tr\", null, mdx(\"th\", null, \"Access Token URL\"), mdx(\"td\", null, \"https://sentry.io\")), mdx(\"tr\", null, mdx(\"th\", null, \"Authorize URL\"), mdx(\"td\", null, \"https://sentry.io\")), mdx(\"tr\", null, mdx(\"th\", null, \"Create Incoming Link\"), mdx(\"td\", null, \"No\")))), mdx(\"li\", {\n    parentName: \"ol\"\n  }, mdx(\"p\", {\n    parentName: \"li\"\n  }, \"Click \\\"Continue\\\". This will return you to the \", mdx(\"strong\", {\n    parentName: \"p\"\n  }, \"Configure Application Links\"), \" page, where you'll see an application called Sentry.\")), mdx(\"li\", {\n    parentName: \"ol\"\n  }, mdx(\"p\", {\n    parentName: \"li\"\n  }, \"Click the pencil icon next to the Sentry application.\")), mdx(\"li\", {\n    parentName: \"ol\"\n  }, mdx(\"p\", {\n    parentName: \"li\"\n  }, \"On the lefthand side of the resulting modal, click \\\"Incoming Authentication\\\". Fill out the form as follows, and click \\\"Save\\\":\"), mdx(\"table\", null, mdx(\"tr\", null, mdx(\"th\", null, \"Consumer Key\"), mdx(\"td\", null, \"(the consumer key from Step II.4)\")), mdx(\"tr\", null, mdx(\"th\", null, \"Consumer Name\"), mdx(\"td\", null, \"Sentry\")), mdx(\"tr\", null, mdx(\"th\", null, \"Public Key\"), mdx(\"td\", null, \"(the public key you created in Section I)\")), mdx(\"tr\", null, mdx(\"th\", null, \"Consumer Callback URL\"), mdx(\"td\", null, \"https://sentry.io/extensions/bitbucket_server/setup/\")), mdx(\"tr\", null, mdx(\"th\", null, \"Allow 2-Legged OAuth\"), mdx(\"td\", null, \"no\"))))), mdx(\"h4\", {\n    \"id\": \"connect-your-bitbucket-server-application-with-sentry\",\n    \"style\": {\n      \"position\": \"relative\"\n    }\n  }, mdx(\"a\", _extends({\n    parentName: \"h4\"\n  }, {\n    \"href\": \"#connect-your-bitbucket-server-application-with-sentry\",\n    \"aria-label\": \"connect your bitbucket server application with sentry permalink\",\n    \"className\": \"anchor before\"\n  }), mdx(\"svg\", _extends({\n    parentName: \"a\"\n  }, {\n    \"viewBox\": \"0 0 24 24\",\n    \"xmlns\": \"http://www.w3.org/2000/svg\"\n  }), mdx(\"path\", _extends({\n    parentName: \"svg\"\n  }, {\n    \"d\": \"M10.879 6.05L15 1.93A5.001 5.001 0 0 1 22.071 9l-4.121 4.121a1 1 0 0 1-1.414-1.414l4.12-4.121a3 3 0 1 0-4.242-4.243l-4.121 4.121a1 1 0 1 1-1.414-1.414zm2.242 11.9L9 22.07A5 5 0 1 1 1.929 15l4.121-4.121a1 1 0 0 1 1.414 1.414l-4.12 4.121a3 3 0 1 0 4.242 4.243l4.121-4.121a1 1 0 1 1 1.414 1.414zm-8.364-.122l13.071-13.07a1 1 0 0 1 1.415 1.414L6.172 19.242a1 1 0 1 1-1.415-1.414z\",\n    \"fill\": \"currentColor\"\n  })))), \"Connect your Bitbucket Server application with Sentry\"), mdx(\"p\", null, \"Note: Confirm \", mdx(\"a\", _extends({\n    parentName: \"p\"\n  }, {\n    \"href\": \"/product/security/ip-ranges/\"\n  }), \"Sentry's IP ranges\"), \" are allowed.\"), mdx(\"ol\", null, mdx(\"li\", {\n    parentName: \"ol\"\n  }, \"In Sentry, navigate to \", mdx(\"strong\", {\n    parentName: \"li\"\n  }, \"Organization Settings\"), \" > \", mdx(\"strong\", {\n    parentName: \"li\"\n  }, \"Integrations\"), \".\"), mdx(\"li\", {\n    parentName: \"ol\"\n  }, \"Next to Bitbucket Server, click \\\"Install\\\".\"), mdx(\"li\", {\n    parentName: \"ol\"\n  }, \"In the resulting modal, click \\\"Add Installation\\\".\"), mdx(\"li\", {\n    parentName: \"ol\"\n  }, \"In the resulting window, enter the base URL for your Bitbucket Server instance, your consumer key, and your private key. Click \\\"Submit\\\". Then, complete the OAuth process as prompted.\"), mdx(\"li\", {\n    parentName: \"ol\"\n  }, \"In Sentry, you\\u2019ll see a new Bitbucket Server instance appear on the Integrations page.\")), mdx(\"p\", null, \"Bitbucket should now be authorized for all projects under your Sentry organization.\"), mdx(\"h2\", {\n    \"id\": \"configure\",\n    \"style\": {\n      \"position\": \"relative\"\n    }\n  }, mdx(\"a\", _extends({\n    parentName: \"h2\"\n  }, {\n    \"href\": \"#configure\",\n    \"aria-label\": \"configure permalink\",\n    \"className\": \"anchor before\"\n  }), mdx(\"svg\", _extends({\n    parentName: \"a\"\n  }, {\n    \"viewBox\": \"0 0 24 24\",\n    \"xmlns\": \"http://www.w3.org/2000/svg\"\n  }), mdx(\"path\", _extends({\n    parentName: \"svg\"\n  }, {\n    \"d\": \"M10.879 6.05L15 1.93A5.001 5.001 0 0 1 22.071 9l-4.121 4.121a1 1 0 0 1-1.414-1.414l4.12-4.121a3 3 0 1 0-4.242-4.243l-4.121 4.121a1 1 0 1 1-1.414-1.414zm2.242 11.9L9 22.07A5 5 0 1 1 1.929 15l4.121-4.121a1 1 0 0 1 1.414 1.414l-4.12 4.121a3 3 0 1 0 4.242 4.243l4.121-4.121a1 1 0 1 1 1.414 1.414zm-8.364-.122l13.071-13.07a1 1 0 0 1 1.415 1.414L6.172 19.242a1 1 0 1 1-1.415-1.414z\",\n    \"fill\": \"currentColor\"\n  })))), \"Configure\"), mdx(\"p\", null, \"Use BitBucket to \", mdx(\"a\", _extends({\n    parentName: \"p\"\n  }, {\n    \"href\": \"#commit-tracking\"\n  }), \"track commits\"), \", identify \", mdx(\"a\", _extends({\n    parentName: \"p\"\n  }, {\n    \"href\": \"#suspect-commits-and-suggested-assignees\"\n  }), \"suspect commits\"), \", \", mdx(\"a\", _extends({\n    parentName: \"p\"\n  }, {\n    \"href\": \"#resolving-in-commit\"\n  }), \"resolve in commit\"), \", and \", mdx(\"a\", _extends({\n    parentName: \"p\"\n  }, {\n    \"href\": \"#issue-management\"\n  }), \"issue management\"), \".\"), mdx(\"h3\", {\n    \"id\": \"commit-tracking\",\n    \"style\": {\n      \"position\": \"relative\"\n    }\n  }, mdx(\"a\", _extends({\n    parentName: \"h3\"\n  }, {\n    \"href\": \"#commit-tracking\",\n    \"aria-label\": \"commit tracking permalink\",\n    \"className\": \"anchor before\"\n  }), mdx(\"svg\", _extends({\n    parentName: \"a\"\n  }, {\n    \"viewBox\": \"0 0 24 24\",\n    \"xmlns\": \"http://www.w3.org/2000/svg\"\n  }), mdx(\"path\", _extends({\n    parentName: \"svg\"\n  }, {\n    \"d\": \"M10.879 6.05L15 1.93A5.001 5.001 0 0 1 22.071 9l-4.121 4.121a1 1 0 0 1-1.414-1.414l4.12-4.121a3 3 0 1 0-4.242-4.243l-4.121 4.121a1 1 0 1 1-1.414-1.414zm2.242 11.9L9 22.07A5 5 0 1 1 1.929 15l4.121-4.121a1 1 0 0 1 1.414 1.414l-4.12 4.121a3 3 0 1 0 4.242 4.243l4.121-4.121a1 1 0 1 1 1.414 1.414zm-8.364-.122l13.071-13.07a1 1 0 0 1 1.415 1.414L6.172 19.242a1 1 0 1 1-1.415-1.414z\",\n    \"fill\": \"currentColor\"\n  })))), \"Commit Tracking\"), mdx(\"p\", null, \"Commit tracking allows you to hone in on problematic commits. Uncover which commits likely caused an issue, and allow your team to resolve issues by referencing the issue number in a commit message.\"), mdx(\"p\", null, \"For more details, see the full documentation on \", mdx(\"a\", _extends({\n    parentName: \"p\"\n  }, {\n    \"href\": \"/product/releases/#create-release\"\n  }), \"commit tracking and releases\"), \".\"), mdx(\"h3\", {\n    \"id\": \"suspect-commits-and-suggested-assignees\",\n    \"style\": {\n      \"position\": \"relative\"\n    }\n  }, mdx(\"a\", _extends({\n    parentName: \"h3\"\n  }, {\n    \"href\": \"#suspect-commits-and-suggested-assignees\",\n    \"aria-label\": \"suspect commits and suggested assignees permalink\",\n    \"className\": \"anchor before\"\n  }), mdx(\"svg\", _extends({\n    parentName: \"a\"\n  }, {\n    \"viewBox\": \"0 0 24 24\",\n    \"xmlns\": \"http://www.w3.org/2000/svg\"\n  }), mdx(\"path\", _extends({\n    parentName: \"svg\"\n  }, {\n    \"d\": \"M10.879 6.05L15 1.93A5.001 5.001 0 0 1 22.071 9l-4.121 4.121a1 1 0 0 1-1.414-1.414l4.12-4.121a3 3 0 1 0-4.242-4.243l-4.121 4.121a1 1 0 1 1-1.414-1.414zm2.242 11.9L9 22.07A5 5 0 1 1 1.929 15l4.121-4.121a1 1 0 0 1 1.414 1.414l-4.12 4.121a3 3 0 1 0 4.242 4.243l4.121-4.121a1 1 0 1 1 1.414 1.414zm-8.364-.122l13.071-13.07a1 1 0 0 1 1.415 1.414L6.172 19.242a1 1 0 1 1-1.415-1.414z\",\n    \"fill\": \"currentColor\"\n  })))), \"Suspect Commits and Suggested Assignees\"), mdx(\"p\", null, \"Once you set up commit tracking, you\\u2019ll be able to see the most recent changes to files found in the issue\\u2019s stack trace with suspect commits.\"), mdx(\"p\", null, \"For issues where the files in the stack trace match files included in commits sent to Sentry, you\\u2019ll see the suspect commit, with a link to the commit itself.\"), mdx(\"p\", null, \"You\\u2019ll also see that the author of the suspect commit will be listed as a suggested assignee for this issue. To assign the issue to the suggested assignee, click on their icon.\"), mdx(\"h3\", {\n    \"id\": \"issue-management\",\n    \"style\": {\n      \"position\": \"relative\"\n    }\n  }, mdx(\"a\", _extends({\n    parentName: \"h3\"\n  }, {\n    \"href\": \"#issue-management\",\n    \"aria-label\": \"issue management permalink\",\n    \"className\": \"anchor before\"\n  }), mdx(\"svg\", _extends({\n    parentName: \"a\"\n  }, {\n    \"viewBox\": \"0 0 24 24\",\n    \"xmlns\": \"http://www.w3.org/2000/svg\"\n  }), mdx(\"path\", _extends({\n    parentName: \"svg\"\n  }, {\n    \"d\": \"M10.879 6.05L15 1.93A5.001 5.001 0 0 1 22.071 9l-4.121 4.121a1 1 0 0 1-1.414-1.414l4.12-4.121a3 3 0 1 0-4.242-4.243l-4.121 4.121a1 1 0 1 1-1.414-1.414zm2.242 11.9L9 22.07A5 5 0 1 1 1.929 15l4.121-4.121a1 1 0 0 1 1.414 1.414l-4.12 4.121a3 3 0 1 0 4.242 4.243l4.121-4.121a1 1 0 1 1 1.414 1.414zm-8.364-.122l13.071-13.07a1 1 0 0 1 1.415 1.414L6.172 19.242a1 1 0 1 1-1.415-1.414z\",\n    \"fill\": \"currentColor\"\n  })))), \"Issue Management\"), mdx(\"p\", null, \"Issue tracking allows you to create Bitbucket issues from within Sentry, and link Sentry issues to existing Bitbucket Issues.\"), mdx(\"p\", null, \"Once you\\u2019ve navigated to a specific issue, you\\u2019ll find the \", mdx(\"strong\", {\n    parentName: \"p\"\n  }, \"Linked Issues\"), \" section on the right hand panel. Here, you\\u2019ll be able to create or link Bitbucket issues.\"), mdx(\"p\", null, mdx(\"span\", _extends({\n    parentName: \"p\"\n  }, {\n    \"className\": \"gatsby-resp-image-wrapper\",\n    \"style\": {\n      \"position\": \"relative\",\n      \"display\": \"block\",\n      \"marginLeft\": \"auto\",\n      \"marginRight\": \"auto\",\n      \"maxWidth\": \"1200px\"\n    }\n  }), \"\\n      \", mdx(\"a\", _extends({\n    parentName: \"span\"\n  }, {\n    \"className\": \"gatsby-resp-image-link\",\n    \"href\": \"/static/9b71b4e00602663bd92b31c2b2c429a7/1d94f/bitbucket-link-issue.png\",\n    \"style\": {\n      \"display\": \"block\"\n    },\n    \"target\": \"_blank\",\n    \"rel\": \"noopener\"\n  }), \"\\n    \", mdx(\"span\", _extends({\n    parentName: \"a\"\n  }, {\n    \"className\": \"gatsby-resp-image-background-image\",\n    \"style\": {\n      \"paddingBottom\": \"45.666666666666664%\",\n      \"position\": \"relative\",\n      \"bottom\": \"0\",\n      \"left\": \"0\",\n      \"backgroundImage\": \"url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAJCAIAAAC9o5sfAAAACXBIWXMAAAsSAAALEgHS3X78AAABgElEQVQoz21RiY6bMBTk//+pUtVqN9vABnI1R6smBDCXDzC2MT6gb7taqVI7Gj09y34zY71g0tMwCKij0tbY5QPz/FYZ0V8+lRQP1lk9GWvdPM+j1qzjVd0GlDR5jjjnYhBSKiEEaDn39gjg/WytB4CQYrSva6+kk4PquKBDIHhO2dC0LSaMdj1lHaWdnqYPGm0MWIFYl95pepdN7Qe+GL1oGVg3GTNBTGOU9275H+Y/f6CYoKxgmNaoKnNUPIqAYPm49RVS6Y097ix7dEXGoUlvFJqmGuEK5RLCtg1+eY4Ou9Nxf9lEu/BbHNx/dU+fUbhq10/l+hmIoIararNu4xAnEYle2tXXuixGQsguOVxOP67nn+fv1yTeB95P3hsINk1inrVzCginf2PjlpyOFxgG8/h1BwxGbSkTXS9b0sPKhNRc6FG7v6mUdX5pa7yND++2++1xEyWBGm2GcJpVRUlRxVBFcoRZrwfluLTv7AZYsQdn8Dwfr9t4/xomcbT9DfSa9KGLDz6AAAAAAElFTkSuQmCC')\",\n      \"backgroundSize\": \"cover\",\n      \"display\": \"block\"\n    }\n  })), \"\\n  \", mdx(\"img\", _extends({\n    parentName: \"a\"\n  }, {\n    \"className\": \"gatsby-resp-image-image\",\n    \"alt\": \"bitbucket link issue\",\n    \"title\": \"bitbucket link issue\",\n    \"src\": \"/static/9b71b4e00602663bd92b31c2b2c429a7/c1b63/bitbucket-link-issue.png\",\n    \"srcSet\": [\"/static/9b71b4e00602663bd92b31c2b2c429a7/5a46d/bitbucket-link-issue.png 300w\", \"/static/9b71b4e00602663bd92b31c2b2c429a7/0a47e/bitbucket-link-issue.png 600w\", \"/static/9b71b4e00602663bd92b31c2b2c429a7/c1b63/bitbucket-link-issue.png 1200w\", \"/static/9b71b4e00602663bd92b31c2b2c429a7/d61c2/bitbucket-link-issue.png 1800w\", \"/static/9b71b4e00602663bd92b31c2b2c429a7/1d94f/bitbucket-link-issue.png 2264w\"],\n    \"sizes\": \"(max-width: 1200px) 100vw, 1200px\",\n    \"style\": {\n      \"width\": \"100%\",\n      \"height\": \"100%\",\n      \"margin\": \"0\",\n      \"verticalAlign\": \"middle\",\n      \"position\": \"absolute\",\n      \"top\": \"0\",\n      \"left\": \"0\"\n    },\n    \"loading\": \"lazy\"\n  })), \"\\n  \"), \"\\n    \")), mdx(\"h3\", {\n    \"id\": \"resolving-in-commit\",\n    \"style\": {\n      \"position\": \"relative\"\n    }\n  }, mdx(\"a\", _extends({\n    parentName: \"h3\"\n  }, {\n    \"href\": \"#resolving-in-commit\",\n    \"aria-label\": \"resolving in commit permalink\",\n    \"className\": \"anchor before\"\n  }), mdx(\"svg\", _extends({\n    parentName: \"a\"\n  }, {\n    \"viewBox\": \"0 0 24 24\",\n    \"xmlns\": \"http://www.w3.org/2000/svg\"\n  }), mdx(\"path\", _extends({\n    parentName: \"svg\"\n  }, {\n    \"d\": \"M10.879 6.05L15 1.93A5.001 5.001 0 0 1 22.071 9l-4.121 4.121a1 1 0 0 1-1.414-1.414l4.12-4.121a3 3 0 1 0-4.242-4.243l-4.121 4.121a1 1 0 1 1-1.414-1.414zm2.242 11.9L9 22.07A5 5 0 1 1 1.929 15l4.121-4.121a1 1 0 0 1 1.414 1.414l-4.12 4.121a3 3 0 1 0 4.242 4.243l4.121-4.121a1 1 0 1 1 1.414 1.414zm-8.364-.122l13.071-13.07a1 1 0 0 1 1.415 1.414L6.172 19.242a1 1 0 1 1-1.415-1.414z\",\n    \"fill\": \"currentColor\"\n  })))), \"Resolving in Commit\"), mdx(\"p\", null, \"Once you are sending commit data, you can start resolving issues by including \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"fixes <SENTRY-SHORT-ID>\"), \" in your commit messages. For example, a commit message might look like:\"), mdx(\"div\", {\n    \"className\": \"code-tabs-wrapper\"\n  }, mdx(CodeTabs, {\n    mdxType: \"CodeTabs\"\n  }, mdx(CodeBlock, {\n    language: \"\",\n    title: \"\",\n    filename: \"\",\n    mdxType: \"CodeBlock\"\n  }, mdx(\"div\", _extends({\n    parentName: \"div\"\n  }, {\n    \"className\": \"gatsby-highlight\",\n    \"data-language\": \"text\"\n  }), mdx(\"pre\", _extends({\n    parentName: \"div\"\n  }, {\n    \"className\": \"language-text\"\n  }), mdx(\"code\", _extends({\n    parentName: \"pre\"\n  }, {\n    \"className\": \"language-text\"\n  }), \"Prevent empty queries on users\\n\\nFixes MYAPP-317\")))))), mdx(\"p\", null, \"When Sentry sees this, we\\u2019ll automatically annotate the matching issue with reference to the commit, and later, when that commit is part of a release, we\\u2019ll mark the issue as resolved.\"), mdx(\"h2\", {\n    \"id\": \"troubleshooting\",\n    \"style\": {\n      \"position\": \"relative\"\n    }\n  }, mdx(\"a\", _extends({\n    parentName: \"h2\"\n  }, {\n    \"href\": \"#troubleshooting\",\n    \"aria-label\": \"troubleshooting permalink\",\n    \"className\": \"anchor before\"\n  }), mdx(\"svg\", _extends({\n    parentName: \"a\"\n  }, {\n    \"viewBox\": \"0 0 24 24\",\n    \"xmlns\": \"http://www.w3.org/2000/svg\"\n  }), mdx(\"path\", _extends({\n    parentName: \"svg\"\n  }, {\n    \"d\": \"M10.879 6.05L15 1.93A5.001 5.001 0 0 1 22.071 9l-4.121 4.121a1 1 0 0 1-1.414-1.414l4.12-4.121a3 3 0 1 0-4.242-4.243l-4.121 4.121a1 1 0 1 1-1.414-1.414zm2.242 11.9L9 22.07A5 5 0 1 1 1.929 15l4.121-4.121a1 1 0 0 1 1.414 1.414l-4.12 4.121a3 3 0 1 0 4.242 4.243l4.121-4.121a1 1 0 1 1 1.414 1.414zm-8.364-.122l13.071-13.07a1 1 0 0 1 1.415 1.414L6.172 19.242a1 1 0 1 1-1.415-1.414z\",\n    \"fill\": \"currentColor\"\n  })))), \"Troubleshooting\"), mdx(\"p\", null, \"If you're having trouble setting up Sentry with your on-premise integration, verify the following:\"), mdx(\"ul\", null, mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"The provided installation URL is a fully qualified domain name (FQDN), which is resolvable on the internet.\"), mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"The IP addresses Sentry uses to make outbound requests are \", mdx(\"a\", _extends({\n    parentName: \"li\"\n  }, {\n    \"href\": \"/product/security/ip-ranges/\"\n  }), \"allowed\"), \".\"), mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"Sentry's access to your installation URL is not path restricted.\")));\n}\n;\nMDXContent.isMDXComponent = true;","tableOfContents":{"items":[{"url":"#install","title":"Install","items":[{"url":"#bitbucket-server","title":"Bitbucket Server","items":[{"url":"#generate-an-rsa-publicprivate-key-pair","title":"Generate an RSA public/private key pair"},{"url":"#create-a-new-application-link-in-bitbucket","title":"Create a new application link in Bitbucket"},{"url":"#connect-your-bitbucket-server-application-with-sentry","title":"Connect your Bitbucket Server application with Sentry"}]}]},{"url":"#configure","title":"Configure","items":[{"url":"#commit-tracking","title":"Commit Tracking"},{"url":"#suspect-commits-and-suggested-assignees","title":"Suspect Commits and Suggested Assignees"},{"url":"#issue-management","title":"Issue Management"},{"url":"#resolving-in-commit","title":"Resolving in Commit"}]},{"url":"#troubleshooting","title":"Troubleshooting"}]},"internal":{"type":"Mdx"}}}},"pageContext":{"excerpt":"Track and resolve bugs faster by using data from your BitBucket commits. This integration needs to set up only once per organization, then it is available for  all  projects. Install Sentry owner or manager permissions, and Bitbucket admin permissions are required to install this integration. Navigate to  Settings > Integrations > Bitbucket . If you have the legacy Bitbucket integration installed, use the button next to Bitbucket to  Upgrade . If you don't have the legacy Bitbucket integration installed, use the button to  Install . In the resulting modal, click \"Add Installation\". A Bitbucket install window should pop up. Select the Bitbucket account you'd like to grant Sentry access to, and click \"Grant Access\". On your new Bitbucket instance in Sentry, click \"Configure\". Add any repositories from which you want to collect commit data. Bitbucket should now be enabled for all projects under your Sentry organization. Bitbucket Server Generate an RSA public/private key pair To generate an RSA public/private key pair, run the following commands in your terminal window one by one. Create a new application link in Bitbucket In Bitbucket, click the gear icon, then  Applications > Application Links . Enter the following as the application URL:\n https://sentry.io/extensions/bitbucket_server/setup/ Click \"Create New Link\". If you see a warning that “No response was received from the URL you entered,” ignore and click \"Continue\". In the resulting dialog, fill out the form as follows: Click \"Continue\". This will return you to the  Configure Application Links  page, where you'll see an application called Sentry. Click the pencil icon next to the Sentry application. On the lefthand side of the resulting modal, click \"Incoming Authentication\". Fill out the form as follows, and click \"Save\": Connect your Bitbucket Server application with Sentry Note: Confirm  Sentry's IP ranges  are allowed. In Sentry, navigate to  Organization Settings  >  Integrations . Next to Bitbucket Server, click \"Install\". In the resulting modal, click \"Add Installation\". In the resulting window, enter the base URL for your Bitbucket Server instance, your consumer key, and your private key. Click \"Submit\". Then, complete the OAuth process as prompted. In Sentry, you’ll see a new Bitbucket Server instance appear on the Integrations page. Bitbucket should now be authorized for all projects under your Sentry organization. Configure Use BitBucket to  track commits , identify  suspect commits ,  resolve in commit , and  issue management . Commit Tracking Commit tracking allows you to hone in on problematic commits. Uncover which commits likely caused an issue, and allow your team to resolve issues by referencing the issue number in a commit message. For more details, see the full documentation on  commit tracking and releases . Suspect Commits and Suggested Assignees Once you set up commit tracking, you’ll be able to see the most recent changes to files found in the issue’s stack trace with suspect commits. For issues where the files in the stack trace match files included in commits sent to Sentry, you’ll see the suspect commit, with a link to the commit itself. You’ll also see that the author of the suspect commit will be listed as a suggested assignee for this issue. To assign the issue to the suggested assignee, click on their icon. Issue Management Issue tracking allows you to create Bitbucket issues from within Sentry, and link Sentry issues to existing Bitbucket Issues. Once you’ve navigated to a specific issue, you’ll find the  Linked Issues  section on the right hand panel. Here, you’ll be able to create or link Bitbucket issues. Resolving in Commit Once you are sending commit data, you can start resolving issues by including  fixes <SENTRY-SHORT-ID>  in your commit messages. For example, a commit message might look like: When Sentry sees this, we’ll automatically annotate the matching issue with reference to the commit, and later, when that commit is part of a release, we’ll mark the issue as resolved. Troubleshooting If you're having trouble setting up Sentry with your on-premise integration, verify the following: The provided installation URL is a fully qualified domain name (FQDN), which is resolvable on the internet. The IP addresses Sentry uses to make outbound requests are  allowed . Sentry's access to your installation URL is not path restricted.","title":"BitBucket","description":null,"draft":null,"noindex":null,"notoc":null,"sidebar_order":1,"redirect_from":["/workflow/integrations/bitbucket/","/workflow/integrations/legacy-integrations/bitbucket/","/workflow/integrations/global-integrations/bitbucket/"],"keywords":null,"id":"1cc8f5f9-77b6-51a2-a777-a1c1de165b5d","legacy":false}},"staticQueryHashes":["1218203755","1222113826","1222113826","1766336459","2158593473","2764967025","3345802723","3818502851","3990806462","4015007367","4192517163","4264099332","518019976"]}