Questions tagged [tfs]

1

votes
1

answer
757

Views

Have Two iteration in Current Scrum TFS

I want to know is it possible to have two or more iteration in current section for scrum in TFS. for example for one team with different Date can I have 2 or more iteration . also can I add some new field to my Epic. For Example Name of my Customer.
Mishaa
1

votes
1

answer
504

Views

How to know if a ID has a parent ID or not in WIQL TFS?

I have an id and I want to know if has a parentid or not by C# coding for TFS. In my TFS board there are many user stories that do not include a Feature ? My hierarchical structure in TFS is as follows: Feature --->User Stories(u1,u2,u3) --->Tasks (t1,t2,t3) Sometimes a user story does not contain...
Akhil Jain
1

votes
1

answer
601

Views

How to automate Build/Release definitions in TFS 2018?

I wish to automate management of my Build/Release definitions, for easy backup/restore operations. How can I do this in TFS 2018? I'm open to using either the REST API or the SDK, although I prefer the SDK whenever possible. --EDIT-- This is for TFS, not VSTS
InteXX
1

votes
2

answer
212

Views

TFS Unmerged Changes

I use a simple branching strategy where I have a trunk. i branch from that trunk into multiple development branches. Once dev is done I merge the dev branch back into main. I'm looking for a way to produce an automated report that would tell me which branches have changes that have not yet been me...
user263097
1

votes
2

answer
2.7k

Views

Connecting TFS to TeamCity

I'm trying to connect my TeamCity project to my TFS project with a free account (a windows live account). But I'm having a little bit a trouble doing this. I'm getting the error TF30063 (You are not authorized to access /DefaultCollection/). I've tried a lot of things, I even follow the instruction...
Victor Franchi
1

votes
1

answer
1.4k

Views

Can I query on the “Tester” field in TFS

The 'Tester' field in TFS is different than the 'assigned to' field. To set the 'tester' field Microsoft has described how to do it here. Are there other ways of setting that 'tester' field? If I want to write a query to see that field, what is the field called in TFS? The reason I want to do t...
user952342
1

votes
2

answer
1.4k

Views

TFS-Git Branch Policies

I am having a hard time understanding branch policies, i was reading through the following article https://www.visualstudio.com/en-us/docs/git/branch-policies. Maybe i am reading it wrong but why are polices set on the pull and not the push seems a bit late in the process Why cant you block users fr...
R4nc1d
1

votes
2

answer
410

Views

How can I override the TFS 2018 build agent variable: Build.SourceVersion?

I am using TFS 2018 on premise with a TFVC project. When I create a new build using the “Empty process” template, the “Get sources” task is automatically added as the first step. This task always gets the latest sources by specifying the latest changeset number on the command line at run tim...
Robin
1

votes
1

answer
96

Views

How to setup Project Backlog in TFS pro grammatically?

I have look around the other post about this Project Backlog, but i want to those missing field in this image here I need those missing fields like workitem, Title, Assigned To, State, Effort, Business. I have this code with me right now. / Set up default team sprint date and time var teamConfig = _...
TheWay
1

votes
1

answer
247

Views

Issues with Deploy test agent with error Cannot find path 'C:\TestAgent2017Setup\vstf_testagent.exe' because it does not exist

Deploy test agent fails with the following error, Test agent location is not specified: Details : 'The running command stopped because the preference variable 'ErrorActionPreference' or common parameter is set to Stop: Cannot find path 'C:\TestAgent2017Setup\vstf_testagent.exe' because it does not e...
Santhosh
1

votes
1

answer
50

Views

How to configure multiple backlog items in TFS?

On-Premises installation of TFS 2015 I am able to achieve this sort of configuration: I was able to achieve this by updating the 'PortfolioBacklogs' section of the ProcessConfiguration.xml file. The only way I was able to get TFS to accept this configuration was by configuring the 'Monthly Patchin...
Fernando Vega
1

votes
0

answer
66

Views

Configuring renamed TFS 2015 Server

Our TFS 2015 server recently got renamed, and I need to get it back online with the new server name. When I try to reconfigure the Application Tier using the TFS admin tool, I'm getting the following error message: TF400860: The current version of the following service is not supported: Registry, Ve...
BILLC
1

votes
2

answer
122

Views

“site can't be reached error” while downloading TFS 2015 agent

I am getting 'site can't be reached' error while trying to download agent from tfs 2015. Do anyone have idea on what can be done to resolve this?
Mukul
1

votes
0

answer
295

Views

Read package.json from TFS agent Build using powershell script?

I'm trying to get version field from package.json file of my .net core project, PowerShell Task is excuted after excuting Get Resource Task, i used this script powershell witch work perfectly in my local my machine : $package_json_path = (Get-Childitem -LiteralPath .\ -Include package.json -Recu...
Boubakr Echieb
1

votes
1

answer
442

Views

VSTS/TFS extension reinstall after remove, The extension already exists

VSTS/TFS(2017) version id: 15.117.26714.0 I has uninstalled my custom extension, and it was removed this extensions list.Then I reinstalled itsef, alert 'The extension already exists'.Amazing, query the url http://{domain}/tfs/_apis/gallery/publishers/{publishers}/extensions/{extensionId}, I can get...
soulxy
1

votes
1

answer
183

Views

TFVC to Git Mirroring (No Migration)

I am looking for a mirroring solution for TFVC and Git. I need to have developers continue using TFVC, but I want TFVC content to be mirrored (real-time preferably) to remote Git repositories. This is not a migration and I don't want developers to have to use client-side tools for this. This can b...
Cody Schilke
1

votes
1

answer
53

Views

Auto-install TFS custom check-in policy to client Visual Studio

In our project, we want to use my custom check-in policy in TFS because sometimes temporary developers need to check-in some code in the repository, but they do not carry out our project requirements. I wrote check-in policy that prevents this, but I think deploying of policy on a client by VSIX-pac...
Sergey Virstyuk
1

votes
1

answer
39

Views

Is it possible to stop association of additional modifications to a work item after it is marked as 'resolved' in TFS 2015?

We are working on TFS 2015 and Visual Studio 2015. Query: Is it possible to stop association of code check-in to a work item after it is marked as 'resolved' in TFS 2015? In a custom work item workflow, we want NO change against a work item once QA approves the work item for production movement.
Anuj
1

votes
1

answer
140

Views

Error when attempting to create VSTS API Service Hook Subscription

Everyone, I have been around and around about creating Visual Studio Team Services - Service Hook Subscriptions automagically via API. I can get the TFS publisher to work, but not the RM publisher. I am trying to create a hook subscription for Release Deployment Completed. Any examples I can find si...
KingAmongGeeks
1

votes
1

answer
555

Views

TF201072: A user or group could not be found

We were given a backup of a collection in TFS 2010 that was turned over to us. I loaded it and I can see the projects in TFS, when I try to access the projects i get the below error. I currently have collection admin rights and project admin rights. Any ideas on how to correct this. TF201072: A user...
Zachary Shupp
1

votes
2

answer
397

Views

Git push doesn't work but git pull does

We have an on premises TFS instance that hosts our Git repositories. Using a VPN, I can git pull but cannot git push. I used to be able to git push but it seems to have stopped working. I've adjusted the buffer size for git files using git config --global http.postBuffer 157286400 but it seems like...
Adam Driscoll
1

votes
0

answer
640

Views

How to update a Nuget Package Reference from TFS Build?

I'm calling the 'Nuget Restore Task' and 'Nuget Update Task' before I build Solution B in a TFS CI Build definition. Solution B references the Nuget Package created from Solution A which I built prior to Solution B. I also have a retention policy for my CI Nuget packages so only the last 5 packages...
PatrickNolan
1

votes
1

answer
77

Views

All tests are executed although no code changes

In vNext (TFS 2017.3 on prem) I have a build definition which builds a .NET application and run around 3000 tests. In my Visual Studio Test task I have enabled 'Run only impacted tests' to decrease build time. I have done several builds at the same branch (Git) where I know there are no code changes...
JerryA
1

votes
0

answer
204

Views

vstest.console.exe crashing on UWP unit test project with “Data at the root level is invalid.”

Trying to run a UWP unit test project using vstest.console.exe, I generate the appx package using MSBuild, and call: C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\Extensions\TestPlatform> ./vstest.console.exe C:\builds\droplocation\Uwp.UnitTesting\AppPackages\Uwp.UnitT...
alek kowalczyk
1

votes
1

answer
140

Views

Is there a list of VSS Treeview Icons?

Refering to the Treeview control for VSTS / TFS: [https://docs.microsoft.com/en-us/vsts/extend/develop/ui-controls/treeviewo ] Is there a list of icons for us to choose? icon: 'icon icon-people' or is there a way to load our own images. Example: icon: './images/sample.png'
Kah Wai Lee
1

votes
0

answer
548

Views

TFS 2017 Reverse Proxy through IIS

My team and I have been attempting to publish our TFS http endpoint through a reverse proxy. TFS is authenticating using NTLM authentication, basic authentication is not encouraged: https://docs.microsoft.com/en-us/vsts/integrate/get-started/auth/tfs-basic-auth. Since NTLM is stateful going throug...
Adam Stephenson
-1

votes
0

answer
4

Views

Pivotal tracker story is not getting updated after code push

We had pivotal tracker integrated with GitHub and when we used to commit with story id, it used to update the story with a commit message update story status. We recently migrated to Team Foundation Server from GitHub and that integration is not working anymore. Looks like there is no integration Ap...
sapy
1

votes
2

answer
403

Views

401 Error getting a list of service endpoints using REST API from TFS extension

I have developed a TFS extension for TFS 2017 on premises. I need to get a list of the service endpoint within a project I am using the following code inside a TFS extension (code-hub) private callTfsApi() { const vsoContext = VSS.getWebContext(); let requestUrl = vsoContext.host.uri + vsoContext.pr...
Juan M. Elosegui
1

votes
1

answer
300

Views

Ignore file changes in TFS on configuration files

We have a couple of configuration files in our solution. They are required for the software to function, so they need to be in our source control and pushed to new workspaces when the do a get latest for the first time. The problem comes when the developers change these files to point to their lo...
Nosfera2
1

votes
1

answer
491

Views

Compare Sonar Qube result from different Git branches

We use Sonar Qube to collect metrics about our project. We use Git as version control system. Each project has a Master repository and several team contribute to this via pull requests of their branches. We make nightly build and releases of the master, this includes Sonar analysis. We would like to...
k.c.
1

votes
0

answer
45

Views

Good place to generate .json file from SQL in TFS

Short story: I'm trying to identify the most reasonable place in our TFS Build and Release cycle to generate some .json files with snapshot of data from a SQL db. They need to be generated prior to the final 'Tokenize with XPath/Regular expressions' task of the release definition, because they wil...
SvdSinner
1

votes
1

answer
1.3k

Views

The type or namespace name ' ' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)

I am getting below error during tfs build. The type or namespace name 'Practices' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?) Though its working good on a specific tfs agent (another one). Here my requirement is not to use that TFS agent. Can anyone suggest,...
andie
1

votes
1

answer
45

Views

TFS 2010 Controller integration to TFS 2015

We have migrated TFS2010 to TFS2015sp3 and we would like to use the existing TFS2010 build controller & agents (XAML) with TFS2015. As a sample test, we did a clone of the existing TFS2010 controller and on the new machine we pointed the Project collections to the new TFS2015 URL. I see the build c...
Mohan Krishna
1

votes
1

answer
87

Views

How will Windows Account Change Affect TFS Accounts?

We are running TFS 2012. Our organization is currently creating new accounts for everyone as part of a migration. What I know is that everyone will have two accounts listed in AD for a while: OldDomain\DoeJ NewDomain\DoeJ This brings me to believe that SID will be different, among other things. My...
getoutofmylaboratory
1

votes
1

answer
83

Views

Remove “Edit team project level permission ACLs” from TFS project admins so that they are not allowed to add users

I want to restrict my TFS 2015 Update 3 (Moving to TFS 2018 shortly) project administrators, so that they are not allowed to add individual users to the TFS security groups. To add users we have in-place a custom solution where users are added to Ldap. I have came to know from the link that 'Edit te...
Angshuman
1

votes
0

answer
718

Views

Docker push giving “blob upload unknown”

I am using TFS 2017 builds to push a docker image to Azure container registry. Build Machine: Ubuntu 16.04 TFS 2017 update 3 the push functionality used to be working fine, suddenly and out of nowhere it started giving an error while trying to upload the image: /usr/bin/docker login -u ******** -p *...
Johnny Zghaib
1

votes
0

answer
63

Views

An updater name is wrong at VSTS pull request

I have a weird issue. When I commit changes to VSTS repository it displays the update on behalf of another user, yet commits are displayed on behalf of me: I thought maybe I use an SSH key from another user, but in my user account I have my own created SSH key that I used to copy the repository. An...
Denis Koreyba
1

votes
0

answer
138

Views

TFS 2017 WITD Import error VS403073

While importing a newly customized Work Item Type Definition into TFS 2017.3, I am receiving the error: VS403073: Group {GroupName} violates the rule that a group can only contain a single HTML or WebPage control preceded by label controls. My question is three-fold: 1) Where are these styling/schem...
IronGem
1

votes
1

answer
432

Views

Visual Studio 2017 can't connect to TFS 2017: LoadCachedCredentialsFormRegisterdProviders Method not found

We are using Visual Studio 2017 & TFS 2017. I have access to TFS web portal & TFS server (remote, share, db,..) & ... and everything works, but I can't connect with Visual Studio (just in my pc). Error is: Server 'http://tfs:8080/tfs' was not added. Method not found: 'Microsoft.VisualStudio.Services...
Shahram Vafadar
1

votes
1

answer
532

Views

Change the location of vstest.console in TFS 2017 Build

In TFS Test Task I know that I can manually set the location of vstest.console.exe via: this is less than an ideal solution though since, as I update my build server, this location may become invalid. The problem that I have run into is that if I select 'Version' my build server ends up using the v...
dparsons

View additional questions