agiledigital / agiledigital/jiralint

New rule: comment added within X hours of worklog

オープン
#40 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
TypeScript
スター
7
フォーク
3
PR マージ指標
30日以内にマージされた PR はありません

説明

Our current comment checking rule requires a comment if:

1. time has been logged AND the issue isn't closed
2. OR the issue is in progress

A conceptually simpler rule is to require a comment whenever time has been logged. i.e a comment must be added "around" the same time that a worklog is added.

The check would look at:

1. time of most recent worklog
2. time of most recent comment

the rule would pass if the comment was <1d *before* the worklog or after it.

What makes it non-trivial is that worklogs and comments are both paginated fields, so they may be truncated. Issues are currently retrieved using the search API. We need to do one of:

1. see if those fields can be sorted so that we always get the most recent comment and worklog
2. check search results and (if necessary) pull individual ticket comments and worklogs

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。