Team Foundation Server 2012 - tfs

I have tried to delete a project in TFS, but the delete iterm is not show,
Please help me to delete the project, thanks very much.
Click here to show the picture image

You are trying to delete a default Team in a team project, not a team project (The default Team is not allowed to delete). As I don't have TFS 2012 environment, I'm not sure whether TFS 2012 support deleting a team project on Web UI. You can click on DefaultCollection in the navigation area in the upper left, and check whether you can see a drop down arrow to the left of a team project name when you hover over the name with you mouse. If you could see Delete option, then click it to delete a team project on Web UI.
If you can not delete a team project from Web UI, you can use the following options:
Using the Administration Console, you can delete a team project from a team project collection:
Details, you can refer to this website: https://learn.microsoft.com/en-us/azure/devops/organizations/projects/delete-project?view=tfs-2013&tabs=browser#delete-a-project-1
You can use the TFSDeleteProject command line tool to delete a team project:
TFSDeleteproject [/q] [/force] [/excludewss]/collection:URL TeamProjectName
Details, you can refer to this website: https://learn.microsoft.com/en-us/azure/devops/server/command-line/tfsdeleteproject-cmd?view=tfs-2013

Related

Renaming a project in TFS 2015

I know that this is possible for TFS projects, but I seem unable to take care of this. I've renamed TFS-hosted GIT projects with no issues, but I'm not able to see the drop-down menus or text-editing boxes on my TFS2015 Admin Site.
I've tried in multiple browsers, multiple systems. I am a Project COllection Manager, and have verified that I have full rights on all projects to be renamed.
Please provide some input as to how I can further diagnose.
Best,
Larry
You can go to team project admin page, and move your mouse to the Name of team project, the text-editing box will show up, then you can remove the team project:
Another way is go to team project collection admin page, right click the team project you want to rename, then select Rename:

Azure and TFS, how do I share my project with a new developer joining the team

i'm trying to figure out what to do here
I have been building a project with VS 2013 and EF6 - with SQL Azure. I publish to Azure and my project sits in TFS so I can check in and out files
I have someone joining the team and it should be simple but i'm not sure how I can add another user to have rights to my TFS project folder and download the APP and away we go
Can someone point me in the right direction, i've looked in Azure Portal and tried clicking around in Solution Explorer in VS2013 to no avail
In TFS Web Access click the little cogwheel in the upper right corner to enter the admin area for your team project and navigate to the team, or from the home page of your Team Project click the "Manage All Team Members".
You can also get to this screen by clicking the Project Name in Team Explorer and opening the Settings. When connected to TFS 2012 or newer that should open the same admin pages.

Delete a collection from TFS

I want to use a free tfs account for a sample project. So i created a free account on visualstudio.com and created 2 collections. And i want delete one them but i cannot delete it.
There is no any members in the collection. It doesn't allow me to delete. As you see on the screenshot, delete button is disabled. Also Is there any way that if i've an admin account, is possible to change or delete collections from visual studio?
I'm not sure how/if it applies to free TFS versions, but the following link shows how to delete Team Project Collections in general. Looks like doing it via command line tool is the way to go.
https://rules.ssw.com.au/do-you-know-how-to-delete-a-team-project-collection
Here is the main part:
On TFS server, open Administrative Command Prompt and change to TFS Tools Directory.
%programfiles%\microsoft team foundation server[versionnumber]\tools
Type the command:
TFSConfig Collection /delete /collectionName:[COLLECTION NAME]
You're mixing collections and team projects. You cannot create a collection in Team Foundation Service as of now. That may or may not change in the future. When you sign up, there is one collection created for you and that one will contain your team projects and you will need to live with that one. If you have a need to have another collection then you can sign up under another account. You can however delete team projects but not from the web UI. You will need to use the command line tool DaveShaw gave a link for. You can also check out the blog post below:
How to delete a team project from Team Foundation Service (tfs.visualstudio.com)
You look like you are trying to deleted a "Team" from a "Team Project"? You have to have at least one "Team" in a "Team Project", and that will have the same name as the "Team Project".
If you are wanting to delete the entire "Team Project" (containing all the Work Items, Source, Builds, etc), you can do it using the tfsdeleteproject command line tool.
Even we had similar issue. Unfortunately we had deleted a Collection DB without Stopping and Detaching the collection from TFS admin console in TFS 2018. Later we tried to detach the collection, but no luck. Initially we had ignored this issue since it was test TFS collection and that too in QA server. Later during up-gradation to Azure DevOps 2019 server we faced issue with Existing Deployment option. we couldn't complete the upgradation. we followed below steps to fix the issue:
**1. Restored the VM/QA TFS server with VM snapshot backup created before upgradation.
Run below command to remove the deleted collection from TFS Config DB.
"TFSConfig Collection /delete /collectionName:[COLLECTION NAME]"
Stop TFS services and done upgradation to Azure DevOps Server 2019 successfully.**

How to add a custom State for WorkItems in Visual Studio Team Services

I'm using Visual Studio Team Services (http://visualstudio.com/), with Visual Studio 2012.
I'd like to add a new State Value for WorkItems. After a search I discover that i can edit the process template to achieve that. I've tried the menu item "Team\Team Project Collection Settings\Process Template manager", but i'm getting the following message:
Visual Studio could not retrieve your user permissions from Team Foundation Server.
Contact your Team Foundation Server administrator to determine the cause of the error and the steps to correct the problem.
If the problem persists, contact Microsoft Product Support Services
Details: Access Denied: marlon.brum#gmail.com needs the following permission(s) on the resource $ to perform this action: Administer
I've added my user to every adminstrator group i've found in tfs configuration, for the project and the collection, but i keep getting that message.
How can i add a custom state to WorkItems in Visual Studio Team Services?
Please note that the UI of VSTS has recently been changed. I'm updating my answer to reflect the latest changes but keeping an older copy too!
Update: As of 17th Oct 2018, on Team Services:
Account Home - Click on the Azure DevOps icon in the upper left corner.
Organization Settings - Click on this link in the lower left corner
Process - Click on Process in Boards Group in the list of settings
Select your process
Select the Work Item Type you want add the new state to
Click on States Menu item on the top
Click New State button
Adding a Gif below
For those who are still on the older UI , on Team Services...
Account Home - Click on the team services icon in the upper left
corner.
Process - Mouse over the Gear icon and choose Process
Choose the process you are working in
Click on Product Backlog Item type
Click on the States tab (between Layout and Rules)
Click the New State link
Account Home can be accessed by clicking on the Azure DevOps icon (previously Team Service) in the top-left corner. This page is also the home page of you account and can be accessed by directly jumping using the URL. For example: youraccountname.visualstudio.com/
Process can be accessed from the UI as mentioned in steps above or by using the direct URL youraccountname.visualstudio.com/_settings/process
Hope it helps!
Thanks Microsoft for making it available!
http://lajak.wordpress.com/2013/01/09/tfs-2012-versions-of-team-foundation-server/
Cons: •Can’t customize process template or workitem templates
So it is not possible to add new states on Team Foundation Services.
Nevertheless, "Team\Team Project Collection Settings\Process Template manager" just allows you to up- and download Process Templates, where you can edit the WIT XMLs. A more comfortable way is to use/install TFS PowerTools and use the WIT Editor "Tools -> Process Editor -> Work Item Types -> Open WIT from Server/File".
This feature is not supported by Visual Studio Team Services. It seems this is causing a lot of people (including myself) problems. See here for the (planned) feature request.
I suspect the reason for your permission error is not that you haven't assigned the right permission, but rather that the permission is not available to be assigned.
You need Team foundation Server Admin rights to execute witadmin tasks.
What probably you mean by following is that you have added yourself to default collection admin/project admin.
I've added my user to every adminstrator group i've found in tfs configuration, for the project and the collection,
For that you have two options:
Either request your TFS admin to do this activity for you.
Request you TFS Admin to add you to the TFS Admin Group using TFS Admin Console.

TFS Project is visible in the Source control explorer but not in Team Explorer?

I'm able to view the project
1.from the Source Control Explorer but not in Team explorer,Only if i have open the local project which is binded to TFS Only then i can view the other folders within in TFS Project.
2.From Tfs command Line Utility
3.Suppose there are no workspaces and no projects downloaded from TFS then only way to view the project is from the command line Utility.
Is there any way fix this issue.
Right click on the root in the team explorer pane, and select "Add existing team project". You should be able to select the new project from there.
It sounds like a permissions issue. I'm guessing you don't have permissions set up on the Team Project, but you do have read permissions on the source control. Keep in mind that, though the two are related, they are stored and maintained separately in the back-end.

Resources