Bulk update the resolution field in Jira

お困りですか?

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

コミュニティに質問

プラットフォームについて: Cloud、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 は除く

Closed または Resolved ステータスの課題で [解決状況] フィールドが設定されない場合があります。ここでは、課題を解決するための実用的な方法を案内します。この手順ではトランジションを作成し、課題の一括編集でこのトランジションを実行してチケットを解決します。更新が必要な課題ステータスのそれぞれについてトランジションを追加する必要がある点にご注意ください。

1. トランジションの準備

  1. まず、既存のワークフローを編集します。
  2. ダイアグラム ビューで [トランジションの追加] をクリックします。
    1. To ステータス From ステータスが同じ値を持つため、トランジションはループ状態になり、課題のステータスは変更されません。
    2. Name には、実行するアクションを指定します。例: "Set Resolution"
  3. 新しいループ トランジションをクリックしてプロパティを表示し、[事後操作] をクリックします。
    1. [事後操作の追加] をクリックします。
    2. select Update Issue Field  and click Add
    3. [解決状況] フィールドと対象の [フィールド値] を選択し、[追加] をクリックします。
  4. ワークフローを公開します
  5. Repeat steps 2-4 for each status for which the Resolution field will need to be updated.

2. 課題のトランジション

Please be aware that before you begin, to perform a bulk operation, you’ll need the global  Make bulk changes  permission and the  Edit issues ,  Transition issues , and  Resolve issues  project permissions.

この操作は一度に 1 つのステータスでのみ実行できるため、以降の操作を複数回繰り返す必要がある場合があります。

  1. Go to your Instance >  Search  > Go to all:  Issues.
  2. Use the Basic Search/JQL Search to filter the issues.
  3. Click on the  (...)  icon >  Bulk change all X issue(s).
  4. Mark all issues  >  Next.
  5. Choose  Transition Issues  >  Next.
  6. Select your newly created transition and click Next
    1. 通知が送信されるのを防ぐには、[この更新をメール通知する] チェックボックスを選択解除します。
  7. 操作の概要画面で [確認] をクリックして変更を適用します。

By default, Jira has a 1000-issue limit on the number of issues that can be modified in bulk.


Script Runner を使用する方法 (サードパーティ製アドオン)

これはチケットの解決状況を削除するための代替方法です

  1. Script Runner アドオンをインストールします。
  2. ユーザーが作成したすべての unresolved ステータスの課題を検索します。
  3. 検索をフィルターとして保存します。
  4. 組み込みのスクリプトを使用し、対象のフィルターの項目を None に設定します。
  5. resolved ステータスを、使用したい解決状況に設定します。

Script Runner usage instructions: https://docs.adaptavist.com/sr4jc/latest/features/built-in-scripts/bulk-fix-resolutions


Jira アプリケーションでの解決状況の一括編集についてのオープンな機能リクエストがあります: JRA-7302 - Getting issue details... STATUS



Last modified on Mar 21, 2024

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

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