How to link issue that is not on Jira in commits and PRs

mfilippo January 26, 2022

Hello,

I have searched for a while but did not find answers to this.

We have a self-hosted instance of Bitbucket and we are using YouTrack to track issues.

We would like that issues ids that we define in commits or PRs point to YouTrack issues, as it happens for Jira.

For example the issue id "XYZ-42" in the commit "XYZ-42: My commit message" should point to URL "https://my-youtrack-instance.com/issue/XYZ-42".

Is it possible to do this?

We are using Bitbucket Server v7.6.0.

Thank you in advance.

Best regards,

Matteo

1 answer

0 votes
Mikael Sandberg
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 26, 2022

Hi @mfilippo,

Welcome to Atlassian Community!

It looks like YouTrack can integrate with Bitbucket the way you looking for, as long as you have a version of YouTrack that supports it. Have a look at their documentation on how to set up the integration. 

mfilippo January 27, 2022

Hello @Mikael Sandberg

Thank you.

Well in fact that integration is for YouTrack, to detect activity related to issues and show on YouTrack for example that a commit was mentioning that issue. We did that and it works.

My question is related to Bitbucket: on bitbucket UI the mentioned issues links should point to YouTrack issues instead of Jira issues. We would need something like this: https://romanvesely.com/bitbucket-with-different-issue-tracker but with Youtrack instead of Trello. Also, we are not using bitbucket cloud so we don't have that Links menu.

I found a plugin for Confluence here: https://marketplace.atlassian.com/apps/1213094/youtrack-integration?tab=overview&hosting=server Maybe there is something similar for Bitbucket?

Thanks

Mikael Sandberg
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 27, 2022

Unfortunately there is no such integration between Bitbucket and YouTrack. The only thing I can recommend it is to contact JetBrains and see if they have any plans on creating an app for Bitbucket.

mfilippo January 27, 2022

Ok thanks for the confirmation.

By app do you mean a plugin?

Mikael Sandberg
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 27, 2022

Correct, plugins are called apps in the Atlassian world.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events