# Find report json in Azure Devops

**URL:** <https://community.sonarsource.com/t/find-report-json-in-azure-devops/59597>\
**Category:** SonarQube Server / Community Build\
**Tags:** reports, sonarqube\
**Created:** [March 9, 2022, 11:03am UTC](https://community.sonarsource.com/t/find-report-json-in-azure-devops/59597 "2022-03-09T11:03:20Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![kostukp96](https://avatars.discourse-cdn.com/v4/letter/k/b9bd4f/32.png) [@kostukp96](https://community.sonarsource.com/u/kostukp96)\
**Post date:** [March 9, 2022, 11:03am UTC](https://community.sonarsource.com/t/find-report-json-in-azure-devops/59597/1 "2022-03-09T11:03:21Z")

</div>

Hello everyone! Please help me, where i can find analysis report json in my Azure Devops ?  
I need based on this report create item in azure boards

---

<div class="post-metadata">

**Author:** ![ganncamp](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/ganncamp/32/1261_2.png) [@ganncamp](https://community.sonarsource.com/u/ganncamp)\
**Post date:** [March 9, 2022, 8:20pm UTC](https://community.sonarsource.com/t/find-report-json-in-azure-devops/59597/2 "2022-03-09T20:20:41Z")

</div>

Hi,

Welcome to the community!

Your analysis report will be found in the SonarQube UI.

That said, you can configure SonarQube to fire a post-analysis [webhook](https://docs.sonarqube.org/latest/project-administration/webhooks/) with the Quality Gate status and the values of the related measures. That’s delivered as a JSON payload. But you’re not going to find it in your analysis workspace.

&nbsp;  
HTH,  
Ann

---

<div class="post-metadata">

**Author:** ![kostukp96](https://avatars.discourse-cdn.com/v4/letter/k/b9bd4f/32.png) [@kostukp96](https://community.sonarsource.com/u/kostukp96)\
**Post date:** [March 9, 2022, 9:08pm UTC](https://community.sonarsource.com/t/find-report-json-in-azure-devops/59597/3 "2022-03-09T21:08:48Z")

</div>

As I understand it, before sending it to sonarqube, some kind of report should be generated with the information that needs to be sent, is it really not possible to extract this report from my pipeline?  
For example, in whitesource bolt before sending to Whitesource UI genereated scan\_report.json and this report sent

---

<div class="post-metadata">

**Author:** ![ganncamp](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/ganncamp/32/1261_2.png) [@ganncamp](https://community.sonarsource.com/u/ganncamp)\
**Post date:** [March 10, 2022, 3:58pm UTC](https://community.sonarsource.com/t/find-report-json-in-azure-devops/59597/4 "2022-03-10T15:58:19Z")

</div>

Hi,

The report we send isn’t human-readable. And I believe we clean it out of the workspace after sending to keep things tidy and filespace use reasonable.

&nbsp;  
Ann

---

<div class="post-metadata">

**Author:** ![kostukp96](https://avatars.discourse-cdn.com/v4/letter/k/b9bd4f/32.png) [@kostukp96](https://community.sonarsource.com/u/kostukp96)\
**Post date:** [March 11, 2022, 8:40am UTC](https://community.sonarsource.com/t/find-report-json-in-azure-devops/59597/5 "2022-03-11T08:40:02Z")

</div>

You clean report after ending sonarqube task, or after ending pipeline ?

---

<div class="post-metadata">

**Author:** ![ganncamp](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/ganncamp/32/1261_2.png) [@ganncamp](https://community.sonarsource.com/u/ganncamp)\
**Post date:** [March 11, 2022, 7:23pm UTC](https://community.sonarsource.com/t/find-report-json-in-azure-devops/59597/6 "2022-03-11T19:23:21Z")

</div>

Hi,

I suppose this happens just before the task ends. After it ends … is too late.

&nbsp;  
😃  
Ann

---

<div class="post-metadata">

**Author:** ![kostukp96](https://avatars.discourse-cdn.com/v4/letter/k/b9bd4f/32.png) [@kostukp96](https://community.sonarsource.com/u/kostukp96)\
**Post date:** [March 11, 2022, 10:19pm UTC](https://community.sonarsource.com/t/find-report-json-in-azure-devops/59597/7 "2022-03-11T22:19:49Z")

</div>

Look, i think sonarqube task create report before sent to sonarqube portal  
I added this config to my sonarqube task:  
sonar.report.export.path=sonar-report.json  
sonar.analysis.mod=preview  
sonar.issuesReport.json.enable=true  
but i cant find report in log in my pipeline  
Can you help me with this config ?  
P.S. I need create sonar-report.json before sent to sonarqube portal, and i want to see this report with command “cat” in bash

---

<div class="post-metadata">

**Author:** ![kostukp96](https://avatars.discourse-cdn.com/v4/letter/k/b9bd4f/32.png) [@kostukp96](https://community.sonarsource.com/u/kostukp96)\
**Post date:** [March 14, 2022, 8:15am UTC](https://community.sonarsource.com/t/find-report-json-in-azure-devops/59597/8 "2022-03-14T08:15:35Z")

</div>

Can you help me ?

---

<div class="post-metadata">

**Author:** ![ganncamp](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/ganncamp/32/1261_2.png) [@ganncamp](https://community.sonarsource.com/u/ganncamp)\
**Post date:** [March 14, 2022, 6:52pm UTC](https://community.sonarsource.com/t/find-report-json-in-azure-devops/59597/9 "2022-03-14T18:52:21Z")

</div>

Hi,

There is no “preview” of analysis except what you get in [SonarLint](https://sonarlint.org/). These properties were dropped a very long time ago:

> [@kostukp96](#):
>
> ```auto
> sonar.report.export.path=sonar-report.json
> sonar.analysis.mode=preview
> sonar.issuesReport.json.enable=true
> 
> ```

&nbsp;  
Ann

---

<div class="post-metadata">

**Author:** ![kostukp96](https://avatars.discourse-cdn.com/v4/letter/k/b9bd4f/32.png) [@kostukp96](https://community.sonarsource.com/u/kostukp96)\
**Post date:** [March 15, 2022, 8:08am UTC](https://community.sonarsource.com/t/find-report-json-in-azure-devops/59597/10 "2022-03-15T08:08:36Z")

</div>

Okay, but there is a method how to download a full report from the sonarqube portal ?

---

<div class="post-metadata">

**Author:** ![ganncamp](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/ganncamp/32/1261_2.png) [@ganncamp](https://community.sonarsource.com/u/ganncamp)\
**Post date:** [March 15, 2022, 12:24pm UTC](https://community.sonarsource.com/t/find-report-json-in-azure-devops/59597/11 "2022-03-15T12:24:48Z")

</div>

Hi,

There’s an overview project report in [Enterprise Edition](https://www.sonarqube.org/enterprise-edition/)($$). Other than that, you’ll need to build any report manually using the data retrieved by the Web API.

The best way to master the API is to perform the desired action via the UI and eavesdrop to see which calls the UI made to accomplish the action.

&nbsp;  
HTH,  
Ann

---

<div class="post-metadata">

**Author:** ![kostukp96](https://avatars.discourse-cdn.com/v4/letter/k/b9bd4f/32.png) [@kostukp96](https://community.sonarsource.com/u/kostukp96)\
**Post date:** [March 15, 2022, 1:27pm UTC](https://community.sonarsource.com/t/find-report-json-in-azure-devops/59597/12 "2022-03-15T13:27:55Z")

</div>

Ok. I will try
