# Project name does not appear in PR comments

**URL:** <https://community.sonarsource.com/t/project-name-does-not-appear-in-pr-comments/57930>\
**Category:** SonarQube Cloud\
**Tags:** github-actions, github, sonarqube-cloud\
**Created:** [February 9, 2022, 1:31am UTC](https://community.sonarsource.com/t/project-name-does-not-appear-in-pr-comments/57930 "2022-02-09T01:31:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ds\_unstoppable](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/ds_unstoppable/32/29681_2.png) [@ds\_unstoppable](https://community.sonarsource.com/u/ds_unstoppable)\
**Post date:** [February 9, 2022, 1:31am UTC](https://community.sonarsource.com/t/project-name-does-not-appear-in-pr-comments/57930/1 "2022-02-09T01:31:42Z")

</div>

I have three projects in a monorepo. Each is configured almost identically. Two show their project name in PR comments. One does not.

 ![CleanShot 2022-02-08 at 20.23.39@2x](https://europe1.discourse-cdn.com/sonarsource/uploads/sonarcommunity/original/3X/c/6/c6ad5c14a5074cab55c9c9f52b15f09d0472bc17.jpeg)

The project name is explicitly set in `sonar-project.properties`.

 ![CleanShot 2022-02-08 at 20.28.59@2x](https://europe1.discourse-cdn.com/sonarsource/uploads/sonarcommunity/original/3X/6/9/69989c219952126e3c2751fbb140b1263a773b7c.png)

And it appears correctly in the SonarCloud UI.

 ![CleanShot 2022-02-08 at 20.30.00@2x](https://europe1.discourse-cdn.com/sonarsource/uploads/sonarcommunity/original/3X/0/b/0bc3efb37cc422af29435c590af8445e9efee891.png)

How do I get the project name to appear in the PR comments?

---

<div class="post-metadata">

**Author:** ![Colin](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/colin/32/55255_2.png) [@Colin](https://community.sonarsource.com/u/Colin)\
**Post date:** [February 14, 2022, 11:59am UTC](https://community.sonarsource.com/t/project-name-does-not-appear-in-pr-comments/57930/2 "2022-02-14T11:59:51Z")

</div>

Hey there.

The project name should appear if the repository is configured as a monorepo. Try hitting the following Web API with your different project keys to see if they are configured well or not.

https://sonarcloud.io/api/alm\_integration/is\_bound\_to\_monorepo?project=\<project\_key\>.

If a project was not bound to a monorepo on setup, you’ll need to create a new project that is [added to your existing monorepo project](https://docs.sonarcloud.io/advanced-setup/monorepo-support#monorepos-on-sonarcloud) set (that I assume your other two projects belong to)

> ### Importing a monorepo
> 
> - Go to the `+` (plus) menu on the top right of the SonarCloud interface and select _Analyze new project_ .
> - This will take you to the
> - Now click _Setup a monorepo_ (it is a small text link on the lower right of the page).  
> …

I don’t feel the docs are very clear about how to add projects to an existing monorepo, and that you cannot add an existing project to an existing monorepo (only a new project can be added to an existing monorepo). I’ll ping internally on this.
