Make custom fields required in a workflow transition in Jira server

お困りですか?

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

コミュニティに質問

プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。

Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Fisheye および Crucible は除く


The solution described in this KB article requires the Field Required Validator, which is a function that is not available in Jira out-of-the-box.

This validator is only available by installing a paid third-party add-on, including but not limited to:

Such solution falls outside of Atlassian Support scope. If you face any issue while using the validator coming from any of these add-ons, we recommend reaching out to the respective add-on support team.

問題

A particular field should be required to perform a transition. However, Jira applications only allow a field to be set as Required in the global context. This article describes a way to make a field requires during a workflow transition.

Please keep it mind that, as mentioned in the warning panel, this solution cannot be implemented using Jira out-of-the-box, and that installing a paid 3rd party add-on is required.

ソリューション

  1. Log into Jira as a Jira Administrator
  2. Make sure that one of the 3rd add-on listed below (or any other add-on that provided with a "field required" validator is installed via the page ⚙ > Manage Apps > Manage Apps
  3. Go to the page ⚙ > Issues > Workflows, and scroll down to the workflow for which you need to add a required field to a transition
  4. Click on the Edit button next to the workflow
  5. 設定したいトランジションを開きます。
    1. ダイアグラム モードの場合、編集したいトランジション名を選択して [検証] をクリックします。
    2. テキスト モードの場合、トランジション名をクリックして [検証] タブに移動します。
  6. On the Validators tab, click on the Add Validator button, and from the list of Validators that shows up, select the 'Fields Required' validator, and then choose the field of your choice as the required field.
  7. トランジションで必須にしたいフィールドを選択します (複数可)。
    [必須フィールド] の一覧に追加するには、上部の [追加] ボタンをクリックする必要があります。 
  8. [追加] をクリックして検証の作成を完了します。
  9. 新しく追加された検証をトランジション画面で確認します。
  10. ワークフローを公開して変更を適用します。



最終更新日 2022 年 5 月 13 日

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

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