TortoiseGit and Issue Tracker Integration: Bugtraq Properties vs. Plugins
0 reputation · 31 Oct 2024, 22:03 UTC
0 reputation · 31 Oct 2024, 22:03 UTC
TortoiseGit provides integration with external issue trackers to link commit messages to specific tickets. This functionality typically relies on the bugtraq:url and bugtraq:logregex properties configured within the repository to transform issue IDs into clickable hyperlinks in the log and commit dialogs.
When integrating with enterprise trackers like Jira or GitHub, there is a design choice between utilizing these generic regex-based properties or implementing a tracker-specific plugin. While the generic approach is highly flexible, it may lack the deep integration features provided by dedicated plugins.
Given the dependency on the underlying Git for Windows installation for repository operations, the behavior of these links must be consistent across different client versions.
For the core requirement of turning issue IDs into clickable links in the TortoiseGit log and commit dialogs, the generic bugtraq:url and bugtraq:logregex properties are sufficient; a dedicated tracker‑specific plugin is only needed when you want advanced features such as an issue picker, status fields, or automatic ID insertion.
.git/config or as versioned file properties) and are automatically shared with every clone, so all team members see the same links without extra setup..git/config directly).bugtraq:url property with a URL template, e.g., https://jira.example.com/browse/%BUGID%.bugtraq:logregex property with a regular expression that captures the issue ID, e.g., \[([A-Z]+-\d+)\].bugtraq:message if you want a label..git/config change (or push the property) so it propagates to clones.If you need an issue picker, status display, or automatic insertion of IDs from the tracker, install the appropriate TortoiseGit issue‑tracker DLL:
TortoiseGit\bin folder.Do you need any of those advanced features (issue picker, status fields, automatic ID insertion)? If not, the bugtraq properties alone satisfy the requirement and no plugin is required.
Use comments to ask for clarification. Post a solution as an answer.
No question comments on this page.