Fetch work item search results: usage of top and changedDate
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 30/100
調査の方向性
Issue に示されている WorkItemSearchRequest と fetch_work_item_search_results のエントリーポイントから始め、Azure DevOps work item search API のドキュメントで top の上限とサポートされているフィルターを確認します。完了条件は、top が返されるアイテムを制限するのか検索対象のアイテムを制限するのかを文書化し、変更日で結果を制限するサポートされた方法を特定すること、または WIQL が必要であることを明確に記載することです。
索引モデルが issue の本文から書いたものです。
説明
Hey there,
am trying to find matches for some keywords with fetch_work_item_search_results. Param top within WorkItemSearchRequest is limited to max. 1000, does this mean they're max. 1000 results that can be returned or max. 1000 work items that are even checked?
I'd also like to apply a filter to check only for the work items from the past week, but when adding the filter with System.ChangedDate following exception is thrown:
azure.devops.exceptions.AzureDevOpsServiceError: Unknown filter [System.ChangedDate] found.. Which filter could be used instead or is there no possibility to filter a specific timeframe without using WIQL?
sort_option = SortOption(field='system.id', sort_order='ASC')
for keyword in test_keywords:
search_request = WorkItemSearchRequest(
#filters = { 'System.ChangedDate': [ '@Today-7' ]},
search_text = keyword,
order_by = [sort_option],
skip = 0,
top = 1000,
include_facets = False
)
work_item_search_response = search_client.fetch_work_item_search_results(search_request, project=project_name)
- 主要言語
- Python
- スター
- 684
- フォーク
- 218
- 平均マージ
- 8日 10時間
- マージ済み PR(30日)
- 1
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
microsoft/azure-devops-python-api のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 55/100
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
-
難易度 1/5 1時間未満 初心者へのやさしさ 55/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
microsoft/azure-devops-python-api の issue をすべて見る
似ている issue
-
essnmx good first issue
難易度 1/5 1時間未満 初心者へのやさしさ 95/100
-
[Feature] 奇物选择添加优先级 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
syfoud/Simulated_Scepter#174 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
Giskard-AI/giskard-oss#2840 · コメント 1 件 ·
-
A claim comment carrying the issue number is silently declined while the workflow reports success オープンarea: repo bug perceived difficulty: 2
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
yeti-platform/yeti#1380 ·