I want to add a JIRA comment that references a Git commit. Our Git repository is hosted on BitBucket so I would ideally like to configure JIRA that when it sees something like "commit #abcdef" in the JIRA markup language, it would create a link to http://bitbucket.org/ourorg/ourrepo/commits/abcdef.
Is that somehow possible? We have the "DVCS connector" installed but I don't see any hints on how to do it in the wiki markup docs.
I don't think there is a way to link the Git commit in the comment. You might need to either create your own renderer or just us the BitBucket add on that gives you the issue tab panel.
What do you mean by "issue tab panel"? Inside JIRA, we have DVCS connector installed which gives us a view on related Git commits but that plugin itself does not have functionality that would help with what I'm trying to achieve - if I have not missed something.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Before we had to migrate to git, we would comment on tickets: "Please backport r39287 to the test branch". Now that Atlassian forced us to move to git, we've lost this control so we have to embed the full URL to the bitbucket commit.
This is for fisheye, but it's the same notion... type in a sha hash and have that link: https://jira.atlassian.com/browse/FE-3954
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
On another note. We have a DVCS connector installed that links our JIRA project to our BitBucket project. When I imported the BitBucket project, the BitBucket issue mentions in commit messages (which also appear in the comments) were changed to JIRA issue mentions. However, that did not link the commit to the issue. Why? Will something like this be implemented?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In my case, I already mention the BitBucket issue number in my commits. I don't want to loose BitBucket integration. So, this probably means that now I have to mention 2 things in every commit message.... I was really looking forward to "integration" between an issue and commits that address it on a feature branch dedicated to that issue. Another thing that I found weird is that apparently mentioning commit hashes in comments no longer auto-links to that commit. BitBucket has that feature, and in my team we use that a lot. What happened, JIRA?
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.