如何以编程方式使用Visual Studio创建工作项 [英] How to create Work Items using visual studio pro-grammatically

查看:83
本文介绍了如何以编程方式使用Visual Studio创建工作项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何以编程方式创建新的c#代码文件并创建新的工作项?

How do i create a new c# code file and create a new work item pro-grammatically?

我需要做的是使用代码创建工作项,它需要在我的仪表板上显示我新创建的工作项已启动.

What i need to do is create the work item by using code and it needs to show at my dashboard that my newly created work item is up.

这是我在Visual Studio中的门户网站的屏幕

Here is my screen of of my web portal in visual studio

推荐答案

请使用工作项API来实现它.以下文章供您参考:

Please use the Work Items API to achieve it. The following articles for your reference:

使用Team Foundation的客户端对象模型创建工作项

https://msdn.microsoft.com/en-us/library/bb130322(v = vs.120).aspx

创建工作项

https://www.visualstudio .com/en-us/docs/integrate/api/wit/work-items#create-a-work-item

https ://github.com/Microsoft/vsts-dotnet-samples/blob/master/ClientLibrary/Snippets/Microsoft.TeamServices.Samples.Client/WorkItemTracking/WorkItemsSample.cs#L166

由于此问题与Visual Studio和Team Foundation Server(TFS)密切相关,建议您将其发布到相应的论坛,在那里您将获得更多帮助和确定的答案.

As this question is more relate to the Visual Studio and Team Foundation Server(TFS), I suggest you post it to the corresponding forum, you will get more help and confirmed answers there.

https://social.msdn.microsoft.com/Forums/vstudio /en-US/home?category = visualstudio

最好的问候,

Dennis

Dennis


这篇关于如何以编程方式使用Visual Studio创建工作项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆