Can Jira's Git plugin handle Git notes for issue tracking?

Hey everyone,

I’m working on a project where we use Git for source control and Jira for bug tracking. I’ve got this idea to add Jira issue URLs to the Git notes section. But I’m not sure if it’s okay to make a custom plugin for this since Jira is paid software.

Has anyone tried something like this before? Is there a way to make the Git plugin in Jira work with Git notes? Or should I look for a different approach?

I’m really curious to hear what others think about this. Any advice or experiences you can share would be super helpful. Thanks in advance!

I’ve actually implemented something similar in my previous role. While Jira’s Git plugin doesn’t natively support Git notes, we found a workaround. We created a custom script that parsed Git notes during our CI/CD pipeline and used Jira’s REST API to update issues. It required some initial setup, but it worked well for our team. One caveat: ensure you’re not violating any terms of service. You might want to consult with Atlassian support or your legal team if you’re unsure. Also, consider the maintenance overhead - custom solutions can become burdensome over time. If you decide to pursue this, thorough documentation will be crucial for long-term success.

I’ve been in a similar boat, Alice. At my last job, we tried to integrate Git notes with Jira, but it wasn’t straightforward. Instead, we ended up using Git commit messages to reference Jira issues (like PROJ-123 in the commit message). This worked well because Jira’s Git plugin already recognizes these.

For your specific use case, you might want to look into Jira’s automation rules. We set up a custom field in Jira to store Git-related info, then used Jira’s automation to update it when certain conditions were met in our repo. It wasn’t perfect, but it gave us the traceability we needed without messing with Jira’s internals or risking any licensing issues.

Just remember, whatever solution you choose, make sure it’s maintainable long-term. Custom integrations can become a headache if not well-documented or if they break with updates.

hey alice, i’ve messed around with git notes before but not with jira. it’s a cool idea tho! maybe check jira’s api docs? they might have something for custom integrations. or you could try a webhook to grab the git notes and update jira. just brainstorming here. good luck with ur project!