Bitbucket comment link to a redmine not working

ramnatarajan May 14, 2018

Hi,

I am trying to create a external link to the bit bucket cloud so when users comment on a commit, the bit bucket cloud will translate a number to hyperlink pointing to a redmine ticket link.

 

Something like this but the comments are still not linked:

Capture.JPG

 

Can you please let me know what I am doing wrong? I cant see links in the comments

 

Link used with format:

http://redmine.test.com/redmine/issues/\1

 

Capture2.JPG

 

Regards,
Ram

 

1 answer

1 accepted

0 votes
Answer accepted
ramnatarajan June 15, 2018

Found the answer:

Key should be in paranthesis like '(\d+)' for the capture group to work.

 

This works:

Url: http://redmine.test.com/redmine/issues/\1

Key: ([0-9]{5,9})

 

Took me some time to figure this out :) lol

 

R

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events