tfs

How to get Days Remaining in Iteration using TFS REST API

狂风中的少年 提交于 2020-01-30 03:39:50
问题 I am currently using the REST API version 2.0 and connecting to my TFS instance with PowerShell . I can get the following information: Iteration ID Iteration Name Team Member Team Member Capacity Per day using the example below GET https://{instance}/DefaultCollection/{project}/{team}/_apis/work/TeamSettings/Iterations/{iterationid}/capacities/{member}?api-version={version} I can not figure out how to get the days remaining in the iteration. 回答1: There is no such direct api to get the days

Edit other users' alerts for a project in TFS

若如初见. 提交于 2020-01-29 02:43:05
问题 I am unexpectedly taking over for the previous administrator of our TFS system who left the company rather abruptly. I was made an admin of TFS and on the TFS application server before this happened, but there is still at least one thing I can't figure out. It seems there are some alerts set up under the previous administrator's account that sends email to all of us whenever a file is checked in. I can't say for sure exactly what this subscription looks like, but I'm guessing it's either in

Edit other users' alerts for a project in TFS

烂漫一生 提交于 2020-01-29 02:43:04
问题 I am unexpectedly taking over for the previous administrator of our TFS system who left the company rather abruptly. I was made an admin of TFS and on the TFS application server before this happened, but there is still at least one thing I can't figure out. It seems there are some alerts set up under the previous administrator's account that sends email to all of us whenever a file is checked in. I can't say for sure exactly what this subscription looks like, but I'm guessing it's either in

using process editor Making workitem field readonly for specific TFS group

廉价感情. 提交于 2020-01-26 03:36:08
问题 I am using TFS 2013 and using the process template I am adding new "Readonly" rule to a field then in the "Not" field I chose [project]\My Team so it should be readonlt for all other groups except My team ,now if I open any workitem from this type from within the VS I found the field readonly!! however if I opened it from the web portal the field is editable as expected but if I tried to change the value of this field I got this error "TF237165: Team Foundation could not update the work item

TFS url with server name is not working

主宰稳场 提交于 2020-01-25 15:18:07
问题 I am facing an issue on accessing TFS portal using http://ServerName:8080/tfs it's showing "Page cannot be displayed"...! It's happening only in the TFS server. Portal is working fine when I access it from other machines. http://localhost:8080/tfs is working perfectly in the server. Please help me to resolve this. 回答1: Issue has been resolved and the steps shown below. Mapping of IP address to host name was missing in the host file. An entry has been created in the "host" file under "C:

InvalidProgramException in Team Foundation Server Sample

我的未来我决定 提交于 2020-01-25 07:54:06
问题 Hi I get an System.InvalidProgramException while trying to run the Example Project called "C# Example.WorkItemBrowser". The Exception also apears when I try to execute these lines: TeamFoundationServer tfserver = new TeamFoundationServer("http://localhost:8085"); tfserver.EnsureAuthenticated(); WorkItemStore store = new WorkItemStore(tfserver); Console.WriteLine(store.Projects.Count); I'm using the 2008 Visual Studio SDK for that. PEverify for the assembly Microsoft.TeamFoundation

Multi Value control on TFS 2017 U3 on-premises after upgrade

怎甘沉沦 提交于 2020-01-25 07:38:05
问题 We upgrade our TFS test environment from 2015.1 to 2017.3 . We have Multi Value control in our Work Items, after the upgrade the Work Item form was empty (unless the tags), and the error on the console was about the multi value control. I downloaded the Multi Value extension from the market place, but is only for the new form (WebLayout), and we not want to move to the new form yet. I go to Legacy Extensions and disable the old multi value control extension, and now we the work item is appear

Finding Azure Devops Server product key

与世无争的帅哥 提交于 2020-01-25 07:34:06
问题 I'm trying to activate my installed Azure Devops Server 2019 update 1 (i installed the trial version). I have access to my organization's VLSC, but when i'm trying to get the product key it says: "This product does not required a product key". where can i find the appropiate product key to activate my product? Thanks 回答1: Note: Azure DevOps Server was previously named Visual Studio Team Foundation Server. To license TFS server, you’ll need a TFS server license and a Windows operating system

How to get a file from TFS directly into memory (i.e., don't want to read from file system into memory)?

跟風遠走 提交于 2020-01-25 07:12:10
问题 How can I load latest version of a file from TFS into computer memory? I do not want to get latest version from TFS onto disk, then load file from disk into memory. 回答1: was able to solve using these methods: VersionControlServer.GetItem Method (String) http://msdn.microsoft.com/en-us/library/bb138919.aspx Item.DownloadFile Method http://msdn.microsoft.com/en-us/library/ff734648.aspx complete method: private static byte[] GetFile(string tfsLocation, string fileLocation) { // Get a reference

How setup alerts notification for override of TFS custom checkin policy?

拥有回忆 提交于 2020-01-25 05:43:10
问题 I have a TFS custom checkin policy in place for my TFS 2010. Unfortunately, thee is no provision to disable the override feature for a check in policy. My concern is, how can I setup email alert for my own custom checkin policy? I have multiple checkin policies enabled on my TFS. I need alerts only for one particular policy is overridden. Thanks 回答1: The tfs power tools has an alert explorer. One of the alerts is "Check-In to specific folder with policy overriden", which should do what you