如何在TFS中创建新错误或新故事时自动创建子任务 [英] How can create sub tasks automatically when creating a new bug or new story in TFS

查看:79
本文介绍了如何在TFS中创建新错误或新故事时自动创建子任务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我们创建一个Bug时,我们会为此创建以下子任务。


修复/代码审查/测试


以及何时我们创建一个故事,我们为此创建以下子任务。


开发/代码审查/测试用例编写/测试


我怎样才能得到这些每当我创建一个新的bug或新故事时,子任务会自动创建吗?

解决方案

你好Tharindra Nilusha Jayamaha ,



感谢您发布此处。



现在默认情况下,TFS中没有此功能。作为解决方法,您可以使用powershell脚本调用api或rest api来查询和创建新工作项。或者,您可以尝试创建自己的服务器插件,以便在创建错误或
用户素材时创建任务。有关详细信息,请参阅以下链接:


http://softwareengineering.stackexchange.com/questions/293880/how-to-have-tfs-automatically-add-certain-tasks-to-new -work-items


http://stackoverflow.com/questions/33573050/how-can-i-create-a-task-automatically-by-creating-a-new-workitem -in-tfs



最好的问候


Limitxiao Gao


When we create a Bug, we create following sub tasks for that.

Fix / code review / Test

and when we create a story, we create following sub tasks for that.

Development / Code review / Test case writing / testing

How can i get these sub tasks auto created whenever i create a new bug or new story?

解决方案

Hi Tharindra Nilusha Jayamaha,

Thank you for posting here.

There is no such feature in TFS by default now. As a workaround, you could use the powershell script to call the api or rest api to query and create new work items. Or you could try to create your own server plugin to create task when a bug or user story is created. For detailed information, you could refer to the following links:

http://softwareengineering.stackexchange.com/questions/293880/how-to-have-tfs-automatically-add-certain-tasks-to-new-work-items

http://stackoverflow.com/questions/33573050/how-can-i-create-a-task-automatically-by-creating-a-new-workitem-in-tfs

Best Regards

Limitxiao Gao


这篇关于如何在TFS中创建新错误或新故事时自动创建子任务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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