For this I am Using Repository Settings->link
But when I am using TaskId with more than 6 digit my Regex is not working then & It will redirects me to
https://bitbucket.org/<WorkspaceName>/<RepoName>/commits/<TaskId>
Expected is It should redirected me to my custom link.
(With 6 digit of Task Id it works fine, Also in regex I was used {6,9} But it also not works)