通过TFS Power Tools 2015添加新状态?

时间:2017-03-17 16:07:22

标签: visual-studio visual-studio-2015 tfs tfs-power-tools

我正在尝试使用 Microsoft Visual Studio Team Foundation Server 2015电动工具添加新状态并转换到var express = require('express'); var path = require('path'); var favicon = require('serve-favicon'); var logger = require('morgan'); var cookieParser = require('cookie-parser'); var bodyParser = require('body-parser'); var mongoose = require('mongoose'); var passport = require('passport'); var flash = require('connect-flash'); var morgan = require('morgan'); var session = require('express-session'); var configDB = require('./config/database.js'); mongoose.connect(configDB.url); require('./config/passport'); // init app var app = express(); // view engine setup app.set('views', path.join(__dirname, 'views')); app.set('view engine', 'jade'); // uncomment after placing your favicon in /public //app.use(favicon(path.join(__dirname, 'public', 'favicon.ico'))); app.use(logger('dev')); app.use(morgan('dev')); app.use(bodyParser.json()); app.use(bodyParser.urlencoded({ extended: false })); app.use(cookieParser()); app.use(require('stylus').middleware(path.join(__dirname, 'public'))); app.use(express.static(path.join(__dirname, 'public'))); app.use(session({ secret: 'godaddy420' })); // session secret app.use(passport.initialize()); app.use(passport.session()); // persistent login sessions app.use(flash()); // use connect-flash for flash messages stored in session app.use(function (req, res, next) { res.locals.path = req.path; next(); }); // require('./app/routes.js')(app, passport); // load our routes and pass in our app and fully configured passport var index = require('./routes/index')(app, passport); var users = require('./routes/users')(app, passport); app.use('/', index); app.use('/users', users); // catch 404 and forward to error handler app.use(function(req, res, next) { var err = new Error('Not Found'); err.status = 404; next(err); }); // error handler app.use(function(err, req, res, next) { // set locals, only providing error in development res.locals.message = err.message; res.locals.error = req.app.get('env') === 'development' ? err : {}; // render the error page res.status(err.status || 500); res.render('error'); }); module.exports = app; 工作项类型。很清楚如何编辑现有的状态和转换,但我还没有找到添加任何一种状态和转换的方法。直接对XML进行更改会很简单,但“查看XML”功能的结果不可编辑。

Workflow

对于上下文,我的目标是在TFS中为我的敏捷任务板添加一个额外的列。我正在关注an MSDN blog post,指的是添加新状态但未指定方式。这让我相信我只是忽略了一些简单的东西,但我很难过......

1 个答案:

答案 0 :(得分:3)

终于找到了(不直观且易于忽视)的解决方案。在工作项类型(WIT)窗格之外,有一个Toolbox选项卡,用于打开WITDesigner控制面板。从那里,您可以将状态从控制面板拖到WIT窗格中。

要创建转换链接,您必须先在控制面板中选择Transition Link。然后,您将进入WIT窗格,您必须在其中选择开始状态,然后选择要转换到的状态。拖动过渡链接已禁用。

enter image description here