How to prompt a required field when transitioning the status of an issue

お困りですか?

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

コミュニティに質問


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

(info) This functionality doesn't exist in Jira Server and Data Center instances out of the box, to achieve the same results as listed below JSU Automation Suites add-on needs to be installed on the instance

You need Jira Administrator permissions to perform the actions in this guide. For more information, please visit Give users admin permissions.

tip/resting Created with Sketch.

This guide is based on the Configure advanced issue workflows documentation.

What do we want to achieve?

Whenever a field is required before a status transition, display a screen with the required field so the user can assign a value and the workflow continues successfully. 

シナリオ

Within a workflow transition, you set a validation where a field must have a value before changing from Status A to Status B. Now whenever you try to transition to the following status, this message shows up in the UI:

Step-by-Step Solution

  1. In the top right corner, go to Jira Settings > Issues.
  2. In the left menu bar, look for Screens.
  3. Add a new screen by clicking the Add Screen button in the top right corner.
  4. Look for the recently created screen by using the filter and select it.
  5. Add the field you want under that specific screen (your required field).
  6. Go to your project's main page and select Project Settings > Workflows.
  7. Select the workflow you want to edit, and click the pencil icon on the right.
  8. Once you are on the workflow draft page, click on the arrow (this is the transition).
  9. On the right side, a box with an option will display, select validators.
  10. A new tab will be opened. When the screen loads, click on Add validator.
  11. Select the Field Required Validator option and click add.
  12. Choose your required field, and click add.
  13. Then, click on edit to edit the transition.
  14. In the transition view field, select the screen that was created. Don't forget to click update.


  15. Finally, publish the new workflow version by clicking the Publish Draft button at the top of the page.

最終更新日: 2023 年 10 月 18 日

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

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