Connecting Microsoft Flow to TFS - tfs

Is there a TFS connector for MS Flow? I only see VSTS connector.
If there is none, is there a way to connect to TFS? I would like to trgger flows when new work items / builds are created in TFS.

If your TFS server supports Service Hooks, 2015 or better, then you can configure a custom service hook receiver for Microsoft Flow. More details on setting up a service hook from the TFS side can be found here.
Your TFS server version must be at least 2015 in order to configure service hooks. Looking at the tags, your TFS version (2013) is too old, unfortunately. Given that support on TFS 2013 expires in about a year, it may be a good time to start the upgrade to TFS 2018 or a migration to VSTS.

Depending on your scenario you could look at connecting to the SQL DB behind your TFS instance directly using Flow and the on-premises data gateway. More information can be found here: https://learn.microsoft.com/en-us/flow/gateway-reference

Related

Adding TFS add-in into Teams

We have TFS 2015 (on-premise) and Microsoft Teams in the cloud.
I am trying to find the TFS plug-in (all I can see is Azure DevOps) and want to be able to show TFS information inside of Teams.
I see lots of articles on how this use to work? But can't find it in my list of plugins to add into the system.
Is there something we need to do at a server level?
Thanks
There is an official extension-- Microsoft Teams Integration.
With using this, you are able to see activity about your Azure DevOps or Team Foundation Server projects directly in your Microsoft Teams channel, for example:
Work item updates
Pull requests
Code commits
Builds
Release deployments and approvals
Work item updates
Azure DevOps Kanban board
However, as the link declare clearly, it only work with Team Foundation Server 2017 Update 2 and above. It's not able to do this with TFS2015. You need to upgrade your TFS version. With higher version, you could also get more released new features in TFS.

Move a TFS 2012 project collection to Azure DevOps 2019

I've found this article about moving collections between TFS and DevOps:
https://learn.microsoft.com/en-us/azure/devops/server/admin/move-project-collection?view=azure-devops
TFS 2012 isn't listed beneath the article heading, so I'm assuming it's not possible to move a 2012 collection to Azure DevOps. Can anyone confirm or otherwise?
I guess I could just try it, but I would need to do so out of hours to avoid the disruption of detaching the collection from the live TFS 2012 server. Now I can reattach it once it has been backed-up right?!
It isn't supported, as you can find in the Azure DevOps Services Migration Guide and the Migration tool, the current oldest version supported is Tfs2018 Update 3. So you will need to upgrade to that version first.
Do note that this will also mean that you need to upgrade the SQL server database your are using to MSSQL 2016.

Future of TFS vs VSTS

Is Microsoft still working on both products? Has development on TFS been dropped in favour of VSTS?
For context, we are using TFS right now and VSTS clearly has better integration. Specifically with Microsoft Teams and ZenDesk which is important to getting our workflow process in a more manageable state. However, VSTS doesn't have anywhere near the configuration or reporting that we require.
Will either product eventually have the full feature set or will we have to choose and build our own integrations or reporting?
Now Azure DevOps and Azure DevOps Server, but the rest of the story remains intact.
Visual Studio Team Services (VSTS) and Team Foundation Server (TFS) are based on the same codebase. VSTS is deployed to the cloud every 3 weeks or faster. TFS has received a major upgrade yearly (2015, 2017, 2018) and a major update pack every 3 to 4 months (2015.0-3, 2017.0-3, 2018.0-1).
Most new features are released to Visual Studio Team Services first and are integrated into Team Foundation Server with a bit of a delay. Some features are available in VSTS which depend on cloud resources, so they're not likely to move to TFS anytime soon.
With regards to reporting, this has been a bit of an Achilles' heel of VSTS. It has never had the Report Server and Analysis Cube capabilities of TFS. It does offer integration with PowerBI and that integration is quickly getting better.
You can see the overview of feature availability between cloud (VSTS) and server (TFS) on the Feature Timeline, as you can see a lot of new things happening, most of them are hitting VSTS first.
Microsoft offers a support lifecycle for Team Foundation Server and currently, it looks like Microsoft won't abandon their on-premise customers anytime soon. TFS 2018 has an extended support lifecycle all the way to 2028:
Products Released Lifecycle Start Date Mainstream Support End Date Extended Support End Date Service Pack Support End Date Notes
Visual Studio Team Foundation Server 2018 11/15/2017 1/10/2023 1/11/2028

Can I Configure Code Search in TFS 2018 Same server?

I am using TFS 2015 U3.
I am working on Migration of TFS from 2015 U3 to TFS 2018 RC2.
We have a TFS 2015 current set up as follows:
Single App Tier- includes vNextBuild agents (Windows Server 2012 R2)
Single Data Tier - SQL server 2016 is used
If i want to configure code search server in the same application tier, is there any issue? what would be the process to do that?
Search can be used on any size physical server or virtual machine that
runs TFS 2017 or above. It can be configured on the same server as
TFS, or on a separate server dedicated to Search. When configuring
Search on the same server as TFS, you must take into account the
existing CPU utlization factor due to TFS itself. In most cases you
should consider configuring Search on a separate server.
Please go through the article below, and follow the steps there to configure Search feature:
https://learn.microsoft.com/en-us/vsts/search/code/administration
By the way, TFS 2018 RTM is available, you can upgrade to RTM version instead of RC2. Also, TFS 2018 requires SQL Server 2016 (minimum SP1), make sure your SQL Server meets this requirement.

How to get Version of TFS in Build Extension

I need to check version of client's TFS server using my TFS extension.My aim is to identify whether it is TFS 2015.2 (or later version) or TFS 2017. Is this feasible (inbuilt/ out of the box method available) or Is there any workaround available to achieve this. Please help.
As per below post it is possible to differentiate VSTS from TFS. But I need one step forward to get specific version.
How to limit build task only to VSTS not TFS
As far as I know, there is no related rest API will directly return TFS version number.
However as a workaround you could start from one place API-version. For example, the 3.0 API set was introduced with Team Foundation Server 2017. It's not support on TFS 2015.

Resources