Any suggestions: How can I disable a link that is automatically created in a pull request?
Details:
When creating a pull request Bitbucket (Server) is automatically finding and linking JIRA issues. Which would be fantastic except...
It's examining text in the pull request and guessing that certain words or phrases belong to JIRA issues and it's getting them wrong (they're not JIRA issues).
For example, make a pull request and fill it with things like "Fixing ABC-123 for #1 person". Bitbucket will automatically hyperlink ABC-123 as a JIRA issues that doesn't exist. Note that it'll also automatically link "#1" to the first pull request in the project?
I don't see a way to turn off this behavior or fix it once it makes an incorrect link. Note that in our case, it tends to pick up on DOORS requirement IDs in the pull request (which are not linked to Atlassian or JIRA) and assumes they're JIRA issues.
To turn it off you need to remove the link between Jira and Bitbucket. see Linking Bitbucket server with Jira. You may also want to vote on this issue, BSERV-2470, to have the integration check for issue validity before linking.
Thanks, appreciate the info. Disabling the JIRA link is definitely not what I want; I voted on that issue.
What about the automatic link to (for example) "#1" and "#2" that automagically link to pull requests? I assume this is Bitbucket only and seems like a separate issue...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
#1 example is part of the markdown support, Mark up comments, issues and commit messages, and I do not know if there is an issue logged for it or not.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.