简体   繁体   中英

TFS Release Step Create Task

I'm converting our XAML build process to vNEXT build for our on-premise TFS 2017. One step I like to automate is the create a work item task for a specific user to execute after the release has been done. Is there a built in way to do this? I have a PowerShell script but I'd prefer not to use it if there is already a better way

No, there is still no out-of-the-box feature for this. Either using the REST api or the Client Object model in a powershell script just like you have done will do the trick.

You could also take a look at this similar question: How to have TFS automatically add certain tasks to new work items? , jessehouwing has provided a great answer.

Another way is using TFS Aggregator- a serverside pugin for TFS 2013 (update 2 and later) which has the ability to create new work items based on rules . An example task can be found here:

https://github.com/tfsaggregator/tfsaggregator/wiki/Auto-Create-Children


Update

After go through the extension in VSTS marketplace ( https://marketplace.visualstudio.com/ ) , there is also no existing task could do this. You may still use your powershell script or write your own extension .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM