How to make logging hours field mandatory in Team-managed project?

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

プラットフォームについて: Cloud のみ - この記事は クラウド プラットフォームのアトラシアン製品に適用されます。

要約

How can we make a log hour field mandatory for a team-managed project so that a user can’t transition an issue to the next status till the log hours are logged?

環境

Jira Cloud

診断

ソリューション

  1. Create a new custom field(number) and set the default value of the field to zero, then set a workflow rule to the transition using the "Check an issue's field" obligating this field to be different than zero. My test field in this example is called "TM Estimated time".


Custom field:

Workflow rule:

The side-effect of the above is that Jira doesn't show a message saying the value of the field is required and only after the value is different than zero the user will be able to transition the status. 


My workaround in this scenario was adding a **REQUIRED** in the field name to make it more visible to the user.

2. When restricting the transition to Done I also used the "Check an issue's field", but this time the value must be zero to allow the transition.


I have recorded the issue view response here in this video:  JST-758691mp4.mp4


最終更新日 2022 年 7 月 14 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.