Teams that use Gerrit for code review (common in automotive, embedded, telecom and Android platform work) hit a gap when they move Jira to Cloud. Jira's built-in development panel is fed by integrations such as GitHub, GitLab and Bitbucket. There's no official Gerrit integration, so Jira issues show nothing about the reviews that implement them.
The result is familiar: reviewers paste issue keys into commit messages, and product managers ask in chat "has this been reviewed yet?"
What people try
- Commit message conventions only. The key is in Gerrit, but Jira doesn't know about it.
- Links pasted into comments by hand. It works until someone forgets, and it shows no review status.
- Custom webhooks to the Jira REST API. Possible, but you maintain authentication, retries and formatting for every Gerrit event.
Linking Gerrit to Jira Cloud
Jigit (made by our team) connects Gerrit, as well as GitHub and GitLab, to Jira Cloud:
- An admin adds the Gerrit server connection in the Jigit settings.
- When you open an issue, Jigit looks up the Gerrit changes that mention its key in the commit message (optionally also in the topic, branch name or comments).
- On the issue, a Gerrit tab in the Activity section lists those changes with their status, branch, approvals and comments.
Mixed environments
Many Gerrit shops also have GitHub (including GitHub Enterprise) or GitLab (including self-managed) for newer projects. Jigit can connect several providers to the same Jira site. For GitHub and GitLab repositories, the Jigit Development panel on the issue also shows branches, pull requests, commits and checks, and you can create or link branches and pull requests from Jira, so the link exists from the start.
What to check before you switch
- Your Gerrit server must be reachable from Jira Cloud. Servers protected by Cloudflare Access can use a service token.
- Not everything from Jigit Data Center is in Cloud yet (for example commit indexing and smart commits), so compare the feature table if you're migrating.
Are you running Gerrit with Jira Cloud today? How do you track review status?
Further reading: Supported Git providers and feature comparison, Jigit Cloud
configuration