Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unhide project from Project Dashboard in TeamCity

Tags:

teamcity

I have, out of curiosity I guess, clicked the little grey 'x' to the right of a project on my TeamCity Project Dashboard. It turns out that it hides the project from the dashboard.

And now I cannot find a way to 'unhide' it. When I try to use Configure Visible Projects menu, it says it's visible. Also if I hover over the downward arrow next to the Project link in the menu, I can navigate to the project.

But I really want to see it on the dashboard again.

Thanks.

like image 931
AndersDaniel Avatar asked Oct 31 '11 08:10

AndersDaniel


People also ask

How do I add a project on TeamCity?

To add your first project, click Administration in the upper right corner of the TeamCity UI and then click Create project. There are several ways to create a project in TeamCity: automatically from a repository URL, from a connection to a specific VCS, or manually.


2 Answers

For those (like me) who struggled to find the configuration alluded to above:

  1. Go to the main page (with the list of projects).
  2. To the right of the project with the hidden build config there is a drop down that says "1 hidden". Use that to unhide it.
like image 153
Ben Challenor Avatar answered Oct 13 '22 19:10

Ben Challenor


As a hack, you can get the request that's normally made to show a build configuration, but using a network console in the browser. You can (e.g.) install the Postman REST API client for Chrome and make that request manually, with the parameters for the build configuration that went missing.

POST to https://example.com/visibleBuildTypes.html with these parameters:

projectId=YOUR_PROJECT_ID bt_visible:btXX (where XX must be replaced with the internal ID for the build configuration) showOne:true (as opposed to hideOne:false to hide it)

ref: https://youtrack.jetbrains.com/issue/TW-16794

like image 37
NPV Avatar answered Oct 13 '22 18:10

NPV