I know its possible to link a commit message to a JIRA ticket, but what I would like to do is add the ticket information into my source code and when someone does a review, or just looking at the code on bitbucket, can see what ticket that section of code satisfies or fixes.
This is going a bit beyond just adding the text of the ticket, because it doesn't visually stand out and is not clickable, both of which would be ideal.
You can add a JIRA issue key in one of the following places, and the issue key will become a link to this JIRA ticket:
I'm afraid that this is not possible while viewing the source code from the 'Source' page of the repo, as it is not possible at the moment to add comments there. We do have a feature request for being able to add comments in the 'Source' browser as well:
something that would allow users to reference JIRA tickets in there as well.
If you'd be interested in that feature, you can add your vote (by selecting the *Vote for this issue* link), as the number of votes helps the development team and product managers better understand the demand for new features. You can also add yourself as a watcher (by selecting the *Start watching this issue* link) if you'd like to get notified via email on updates.
Please note though that we don't provide ETAs and implementation of new features is done as per our policy here
Please feel free to let me know if you have any questions.
Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events