Details
-
Bug
-
Resolution: Timed out
-
Low
Description
I am attempting to use the link to a custom web service feature within a Bitbucket repo.
I have the Link Key as LK\w+) and the domain as https://externalservice.com/card/\1. So in theory that should pickup any part of the commit with a ticket number, which looks like LK:323042304 or so.
It works for purely word related tickets but does not link ticket numbers with integers in them. Bitbucket tries to link to them as commit ids which of course brings up a 404 page as they are not valid commits.
I have placed some examples of what matches and what does not below:
Commit message: LK:694725259
Result link: https://bit_bucket_repo_url/commits/694725259
Expected link: https://externalservice.com/card/694725259
Commit message: LK:test3434
Result link: https://externalservice.com/card/test3434
Expected link: https://externalservice.com/card/test3434
An example repo with this bug is here: https://bitbucket.org/ShelterWeb/leankit-integration-test/commits/all