Documentation menu
- Agile Analytics documentation
- Getting started
- Connect
- Connect GitHub
- Connect GitLab
- Connect Bitbucket Cloud
- Repositories and groups
- Connect Jira
- Sprint schedule
- Connect Slack
- Connect Google Cloud Monitoring
- Connect AWS CloudWatch
- Connect AI vendors
- SAML single sign-on
- API keys
- AI assistants (MCP)
- Connect Cloudflare
- Connect your AI platform
- Import from Backstage
- Connect SonarQube Cloud
- Connect Snyk
- Pages
- Slack app
- E-mail and signals
- Settings reference
- Metrics reference
- Agile Analytics documentation
- Getting started
- Connect
- Connect GitHub
- Connect GitLab
- Connect Bitbucket Cloud
- Repositories and groups
- Connect Jira
- Sprint schedule
- Connect Slack
- Connect Google Cloud Monitoring
- Connect AWS CloudWatch
- Connect AI vendors
- SAML single sign-on
- API keys
- AI assistants (MCP)
- Connect Cloudflare
- Connect your AI platform
- Import from Backstage
- Connect SonarQube Cloud
- Connect Snyk
- Pages
- Slack app
- E-mail and signals
- Settings reference
- Metrics reference
Connect SonarQube Cloud
Repository health already tells you whether a code scanner is set up and whether it runs. Connect SonarQube Cloud and Agile Analytics adds what it found: the quality gate, the issues, coverage and duplication on new code, per repository and per team, with the trend behind them.
Agile Analytics only reads. It starts no analysis, changes no setting, and writes nothing to your SonarQube Cloud organisation.
What you need
- The organisation key of your SonarQube Cloud organisation. You find it under Administration → Organization settings; it is also the
organizationin the URL of any of your projects. - A token that may browse those projects. In SonarQube Cloud, open My Account → Security and generate one.
- Which instance your organisation lives on:
sonarcloud.io(EU),sonarqube.us(US) orsonarqube.au(AU). They are separate services with separate accounts, so a token from one does not work on another.
Connecting
- In Agile Analytics, go to Settings → Quality tools → SonarQube Cloud.
- Pick the instance, enter the organisation key and paste the token.
- Press Connect.
Agile Analytics reads your project list once to check the access, then reads the rest the same night. The first read brings back about three months of history, so the trend is there the next morning instead of filling up over a quarter.
The token goes into a secret store and never comes back out of Agile Analytics: no settings page and no API call returns it, and only a hint of it is shown so you can recognise it in SonarQube Cloud's own list. Connecting again with a new token destroys the old one. Disconnect destroys it too, and can delete what was read along with it.

Matching projects to repositories
A Sonar project has to be matched to one of your repositories before its numbers count towards anything. Agile Analytics matches on the name: yourorg_payment-service and yourorg:payment-service both find the repository payment-service.
It only matches when there is one candidate. If two repositories in different groups are both called api, the project is left unmatched and waits for you, because a number counted against the wrong repository is worse than a number nobody has counted yet.
Settings → Quality tools lists every project with the repository it was matched to and lets you set the ones it left alone. A match you make by hand is never overwritten by a later read.
Until a project is matched, its repository is counted in the total and in no figure, and the page says how many there are: counted over 24 of 31 active repositories.

What is read
| Where | What |
|---|---|
| Quality gate | whether each repository's gate passes |
| New code | new issues, new security issues, new reliability issues, new maintainability issues, coverage, duplicated lines |
| Overall | coverage, duplicated lines, lines of code |
| Per merge request | the same new-code figures, for the comparison below |
Coverage over several repositories is weighted by the lines it is a share of, not averaged: a ten-line repository at 100% and a thousand-line one at 50% is not 75% covered. Where the lines were not reported, the page says the figure is an unweighted mean.
Security hotspots are not reported separately. SonarQube Cloud is folding them into security issues and is withdrawing the endpoints that read them, so Agile Analytics reports security issues.
The comparison with AI-assisted work, and its four-week limit
If SonarQube Cloud analyses your merge requests as well as your main branch, the AI impact page gains a comparison: the new issues, new security issues and coverage on AI-assisted merge requests against the rest, compared inside each repository.
SonarQube Cloud keeps a merge request's analysis for four weeks. Agile Analytics copies those numbers out each night while they are there, so this comparison builds up from the day you connect and cannot be filled in backwards. The page says how many of the period's merge requests it covers and since when it has been collecting, so a two-week sample is never read as a year.
If your pipeline runs Sonar only on the main branch, this part says so instead of showing nothing.

What happens to the code-quality check
Where a repository is matched to a Sonar project, Agile Analytics uses the project's last analysis date as the evidence that its code-quality scan runs, instead of reading it out of your CI files. The connector knows for a fact what the files can only suggest, so the check on Repository health gets more accurate: a repository can move from set up, not running to adopted, never the other way.
What you see afterwards
A Quality signals section appears under the checks on Repository health, with:
- the quality gate, the issues, coverage and duplication on new code, each with the change against the period before and the number of repositories it rests on;
- how much of your estate the figures are about — a repository whose projects are not matched is counted in neither a figure nor its total;
- a trend of any of those figures, one point a week, where a week nothing was read in is a gap and not a zero;
- a row per team and a row per repository, where a dash means no scanner reported that figure, not that the figure is zero.

Connecting Snyk as well fills the same section with the security side: the open vulnerabilities by severity and how long a fix takes.
Reading it again
Agile Analytics reads every connected source each night. Read now on the settings page does it immediately. If a read fails — a revoked token, or SonarQube Cloud asking us to slow down — the reason is shown on the settings card and next to the figures, and the next night tries again.
Plans
Quality signals are part of the Scale-Up and Enterprise plans, as Repository health is. The comparison with AI-assisted work needs AI impact, which is part of the same plans.