如何报告错误(缺陷)的所有评论历史记录? [英] How to report on all the comment history for a bug ( defect)?

查看:103
本文介绍了如何报告错误(缺陷)的所有评论历史记录?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我们需要提供某个项目所有错误的报告,并在评论字段中记录解决方案详细信息。评论字段似乎将每个评论视为单个记录,当我们运行查询或报告时,我们只获得
最新评论。


我们需要历史记录以供分析之用。您是否可以提供运行包含所有评论历史记录甚至最近10条评论的报告或查询的步骤?


谢谢



解决方案

Hi ElaineDoucette,


所有历史评论都可以显示在工作项修订版上。


有一个用于报告工作项修订的Rest API,

  POST  HTTP:// {实例} / DefaultCollection / [{项目} /] _apis / wit / reporting / workItemRevisions?[continuationToken = {string}]& api-version = {string}   


Content-Type:application / json


{


 
" types" :[


   
" Bug"


 ],


 
" fields" :[


   
" System.Title"


   
" System.History"


 ],


 
" includeIdentityRef"
true


}


有关此REST API的更多信息,请参阅以下链接:


https://www.visualstudio.com/en-us/docs/integrate/api/wit/reporting-work-item-revisions#get-a-batch-of -work-item-revisions-with-a-post


最好的问候

Hi,

We need to provide a report of all the bugs for a certain project and the resolution details are documented in the comment field. the comment field seems to treat each comment as an individual record and when we run a query or report, we are only getting the most recent comment.

We need the history for analysis purposes. Can you provide the steps to run a report or query that will include all the comment history or even up to the last 10 comments, for example?

Thanks

解决方案

Hi ElaineDoucette,

All the history comments could be shown on the work item revisions.

There is a Rest API for work item revisions for reporting,

POST http://{instance}/DefaultCollection/[{project}/]_apis/wit/reporting/workItemRevisions?[continuationToken={string}]&api-version={string}

Content-Type: application/json

{

  "types": [

    "Bug"

  ],

  "fields": [

    "System.Title",

    "System.History"

  ],

  "includeIdentityRef": true

}

For more information of this REST API, please refer to the link below:

https://www.visualstudio.com/en-us/docs/integrate/api/wit/reporting-work-item-revisions#get-a-batch-of-work-item-revisions-with-a-post

Best Regards


这篇关于如何报告错误(缺陷)的所有评论历史记录?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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