Azure Devops-用户故事描述/接受条件字段中的Markdown支持? [英] Azure Devops - Markdown Support In User Story Description / Acceptance Criteria Fields?

查看:67
本文介绍了Azure Devops-用户故事描述/接受条件字段中的Markdown支持?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的公司希望在DevOps的Agile工作流程中简化User Story文档.在DevOps的描述/接受标准"字段中,有没有办法使用降价格式?它比DevOps中提供的WYSIWYG编辑器更加灵活和强大.

解决方案

您可能已经知道,在Azure Devops中,我们没有直接在WIT中提供此类功能.因此,要实现所需的功能,只需考虑开发一个扩展名.

对于VSTS,现有一个

  • 第2步::选择要显示Markdown编辑器的字段,这里是说明

  • 第3步:选择相应的布局位置,并将其存储到新组中.

  • 第4步::您不希望工作项表单上有两个相同的编辑器.因此,隐藏默认值:


完成上述步骤后,描述"字段现在可以支持Markdown语言.

My company is looking to streamline User Story documentation in DevOps's Agile workflow. Is there a way to use markdown formatting in Description / Acceptance Criteria fields in DevOps? It is far more flexible and powerful than the WYSIWYG editor available in DevOps.

解决方案

You may have known that in Azure Devops, we haven't directly provide such feature in WIT. So, to achieve what you want, just consider to develop an extension.

For VSTS, there has an existing one Markdown. But I saw you tagged this question with a azure-devops-server-2019 tag. If your server type is TFS, please check this extension source code, and then made some customized changes into it to let it available for your server.

See how to develop extension for TFS work item.


The working logic of this extension is adding a custom control which expand Markdown edit into work item layout.

Since what you are using is Azure Devops server 2019, below operation and its action logic also suitable for you.

With more details, in your requirement, you want the fields Description / Acceptance Criteria can support to use Markdown. This extension would let you add a custom control to User story.

  • Step1: In its custom control, choosing Markdown as control type which can let this field control under Markdown.

  • Step2: Choose which field you want to show Markdown editor for, here is Description

  • Step3: Choosing corresponding layout location, store it in to a new group.

  • Step4: You should not want there has two same editors on the work item form. So, hiding the default one:


After the above steps, now, the Description fields can support Markdown language.

这篇关于Azure Devops-用户故事描述/接受条件字段中的Markdown支持?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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