【问题标题】:Azure DevOps queries with date带有日期的 Azure DevOps 查询
【发布时间】:2020-05-05 11:14:55
【问题描述】:

创建查询时,我可以选择将日期字段与宏进行比较,例如“创建日期 >= @StartOfDay('-1d')”。
但考虑到连续几天,我在那里找到的所有宏都有效。
我想要一些不考虑周末和节假日的东西。
有没有类似'@WorkDays("-1d")'的东西。

【问题讨论】:

    标签: azure-devops


    【解决方案1】:

    带有日期的 Azure DevOps 查询

    同意克日什托夫的观点。

    现在没有排除周末和节假日的功能。根据文档Operators and macros supported for each data type

    Azure DevOps 2019 Update 1 及更高版本仅支持 @StartOfDay@StartOfWeek@StartOfMonth@StartOfYear 宏。

    没有排除周末和节假日的选项。

    此外,还有一个用户的声音:

    Add option to exclude weekends when setting up Styling rules using the 'Changed Date' field rule criteria

    您可以为此反馈投票并添加您的 cmets。

    希望这会有所帮助。

    【讨论】:

      猜你喜欢
      • 2020-06-09
      • 2021-03-14
      • 1970-01-01
      • 1970-01-01
      • 2015-12-10
      • 1970-01-01
      • 2021-03-06
      • 2017-01-14
      • 2014-06-21
      相关资源
      最近更新 更多