Automatic Jira Connection Issues with Pull Requests

I’m trying to set up my pull requests so they automatically link to Jira tickets, but it’s not working as expected. I’ve added the Jira ID to both my PR title and branch name, yet the link isn’t established. I heard that including the Jira ID in commit messages might be necessary. Oddly, one of my previous tickets linked correctly without that step.

Can someone explain what might be causing this inconsistency and suggest a workaround?

Here’s a sample of what I’m aiming for:

PR Title: PROJ-456: Introduce updated module
Branch Name: feature/PROJ-456-updated-module
Desired Outcome: Automatic linking of the PR to PROJ-456 in Jira

Thanks in advance for any help!

I’ve encountered similar issues and found that resolving them often comes down to subtle configuration details in the integration. In my experience, even when the branch name and pull request title include the Jira ID, the connection sometimes only works reliably if the commit message also contains it. It seems that the integration has a sensitivity to exact formatting, such as case or spacing in the project key. I suggest reviewing your integration and webhook settings carefully and discussing with your DevOps team to check for any custom configurations that might be affecting the linking process.

hey, im havin some issues too. double-check your jira and github integration. try puttin the jira id in your first commit line. it fixed mine sometimes. if still not working, ask your devops team to check jira settings.

I’ve encountered similar issues with Jira-GitHub integration. From my experience, the most reliable method is including the Jira ID in the commit message. This approach has consistently worked for me across different projects. Additionally, ensure your Jira project key matches exactly what’s in your commit/PR title. Case sensitivity matters. If the problem persists, it could be a configuration issue on the Jira side. I’d recommend checking the Jira webhook settings and verifying the correct repository is linked. Lastly, some organizations use custom scripts for this integration, so it might be worth consulting your DevOps team for any specific requirements or known issues.