是否有任何TFS或VSTS REST API按创建日期查询项目 [英] Is there any TFS or VSTS REST API to query projects by created date
问题描述
我正在寻找VSTS / TFS REST API来获取在给定日期范围内创建的项目列表。
I am looking for VSTS/TFS REST API to get the list of projects created with in the given date range.
参考以下链接,但未找到我正在寻找什么。
Referring the below link, but didn't found what I'm looking for.
https://www.visualstudio.com/en-us/docs/integrate/api/tfs/projects#get-a-list-of-team-projects
是否有任何此类API或解决方法?任何帮助表示赞赏...
Is there any such API or workaround? Any help appreciated...
谢谢, Srinivasa Rao Dhulipalla
Dotnet4Techies
Thanks, Srinivasa Rao Dhulipalla Dotnet4Techies
推荐答案
嗨Srinivasa Rao Dhulipalla,
Hi Srinivasa Rao Dhulipalla,
没有任何Api可以获得团队项目的创建时间。
There does not have any Api to get the creation time of a team project.
您可以在[Tfs_DefaultCollection] 中搜索[ ModifyTime] 。 [dbo] 。 [tbl_ProjectHistory]。
You could search [ModifyTime] in [Tfs_DefaultCollection].[dbo].[tbl_ProjectHistory].
团队项目的第一条记录是在创建此项目期间创建。因此,此记录的修改时间可以视为此项目的创建时间。
The first record of a team project is created during the creation of this project. So the modifytime of this record could consider as the creation time of this project.
服务器数据库中的时间是UTC时间。你可以把它变成你的时区。
The time in the server Database is UTC time. You could turn it to your time zone.
最好的问候
这篇关于是否有任何TFS或VSTS REST API按创建日期查询项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!