tfs2012

How to get the WorkitemCollection from WorkItemStore using Query(Ids, QueryString) Method

瘦欲@ 提交于 2019-12-08 05:06:37
问题 I have stuck on one problem where I want to get the WorkItemCollection from the WorkItemStore . I know it can be possible by using Query() Method. But in my scenario Query method is not working as I am using method WorkItemStore.Query Method (Int32[], String). with the String argument as Select [System.Id],[System.State],[System.Title],[System.WorkItemType] from WORKITEMS where [System.WorkItemType] = 'Requirement' and [System.TeamProject] = 'Test_Baseline' But while executing this query It

how to migrate tasks from JIRA to TFS 2012

纵饮孤独 提交于 2019-12-08 04:10:57
问题 I have been searching the Tool(freeware) for a clean solution on how to migrate tasks from JIRA to TFS2012. Already i try to setup tfs-jira-synchronizer setup I've been trying to set this up on a sandbox server however when I ran the installer I didn't get the acl application file in my virtual directory. The installer completed without errors. 回答1: I recently had to migrate from Jira to TFS. I ended up writing my own utility to do so. I felt this was a good candidate for 'open-sourcing' so

tf.exe info /version:T does not get latest

和自甴很熟 提交于 2019-12-08 03:08:09
问题 I am using tf.exe to get the latest information of a path but tf.exe info $/Path /version:T only gives me the very first info. But I need the latest ones obviously. Using VS2013 and the build-in history I can see the latest. What could be the problem? 回答1: You're requesting the info for the root directory. Normally such folders are only created once and as such will only have one history element. When you look at the history list in Visual studio, you're looking at the recursive history (of

TFS 2012 automatically build projects that depend on current one

醉酒当歌 提交于 2019-12-08 01:40:55
问题 Ok so I have to admit, I'm very new to all of this build automation stuff. But basically what I'm wondering is if there is a way to wire up my build definitions in such a way that if I have a case like so ProjectA produces ComponentA.dll ProjectB references ComponentA.dll and produces ComponentB.dll ProjectC references ComponentB.dll then when I make changes to ProjectA and check them in, the build process would automatically also build ProjectB, and finally ProjectC, and report any errors.

Catch all changes made to Work Items in TFS 2012 Event Subscriptions

南楼画角 提交于 2019-12-07 22:14:27
问题 What I'm after is a way to catch all changes made to certain fields in the Work Items stored on our new TFS 2012 server, so that I can do other logic (processing the updates via a Help Desk API) with the results based on what is changed by the developers. I've been struggling for over a week now, Googling and reading reference materials, but nothing works with TFS 2012 it seems. I've tried the setup from: Developing and debugging Server Side Event Handlers in TFS 2010 (GeeksWithBlogs) And

Detect file delete changes with TFS API (automated, without VS interaction)

 ̄綄美尐妖づ 提交于 2019-12-07 21:38:45
问题 I have a local folder within the tfs workspace and use the TFS-API. Every night i do delete this folder and and after that script a database as .sql files. If now something was added or edited, the changes will be found and get into the pending changes to checkin. The question is how i can detect with the TFS-API that a file is missing (intentionally, because no longer in database and becaus of that no longer scripted). The first step is obvious, delete all files and script all in the empty

How to get the name of all projects in a TFS collection?

杀马特。学长 韩版系。学妹 提交于 2019-12-07 16:29:06
问题 On how to get the collections from TFS refer here Please refer here for more details. This is one of the best resources on TFS stuff. 回答1: The collection guid is passed in and the list returns the name of all projects in that particular collection. public IList<string> GetProjectsFormCollection(Guid collectionId) { ICommonStructureService structureService = null; try { TfsTeamProjectCollection teamProjectCollection = _configurationServer.GetTeamProjectCollection(collectionId);

TFS Workflow If Statement using Build Configuration

﹥>﹥吖頭↗ 提交于 2019-12-07 15:42:32
I am working with Visual Studio 2012 paired with TFS 2012. Right now I am building a custom workflow template and need to run an if statement to separate two invokeprocess's. The condition for the if statement needs to operate off of which build configuration I am running, I want it to operate like this C code: if(Configuration == 'Debug') {//run for debug} else if(Configuration == 'Release') {//run for release} My problem is that I can't find any documentation or help as to how one would go about creating a conditional in workflow, and how I can use my build configuration as a value in this

Can't create Team project in tfs 2012 using visual studio 2010

隐身守侯 提交于 2019-12-07 14:31:40
问题 I install TFS 2012 and I have visual studio 2010. I already create team collection but I can't create team project. Error message {you don't have permission create team project} but I give all permission to current user. 回答1: Some of the Administration activities will not work when you are using lower version of Team Explorer client. You need to install Team Explorer 2012 or Visual Studio 2012 to create new team projects. 来源: https://stackoverflow.com/questions/11406400/cant-create-team

TFS2012 Upgrade - Builds sometimes failing with TF215097 “DynamicActivity” error

旧城冷巷雨未停 提交于 2019-12-07 11:14:20
问题 We use a few tweaked Build Process Template, developed for TFS2010 for all of our builds, but these BPTs are not using any custom activities. We recently upgraded to TFS2012, and during the upgrade converted our BPTs according to these instructions. This works fine, most of the time, but periodically, it coughs up: TF215097: An error occurred while initializing a build for build definition \Project1 (Dev10)\Simple - Manual: The values provided for the root activity's arguments did not satisfy