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 は除く
1. トランジションの準備
- まず、既存のワークフローを編集します。
- ダイアグラム ビューで [トランジションの追加] をクリックします。
- To ステータスと From ステータスが同じ値を持つため、トランジションはループ状態になり、課題のステータスは変更されません。
- Name には、実行するアクションを指定します。例: "Set Resolution"
- 新しいループ トランジションをクリックしてプロパティを表示し、[事後操作] をクリックします。
- [事後操作の追加] をクリックします。
- select Update Issue Field and click Add
- [解決状況] フィールドと対象の [フィールド値] を選択し、[追加] をクリックします。
- ワークフローを公開します
- 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 つのステータスでのみ実行できるため、以降の操作を複数回繰り返す必要がある場合があります。
- Go to your Instance > Search > Go to all: Issues.
- Use the Basic Search/JQL Search to filter the issues.
- Click on the (...) icon > Bulk change all X issue(s).
- Mark all issues > Next.
- Choose Transition Issues > Next.
- Select your newly created transition and click Next
- 通知が送信されるのを防ぐには、[この更新をメール通知する] チェックボックスを選択解除します。
- 操作の概要画面で [確認] をクリックして変更を適用します。
By default, Jira has a 1000-issue limit on the number of issues that can be modified in bulk.
Script Runner を使用する方法 (サードパーティ製アドオン)
これはチケットの解決状況を削除するための代替方法です
- Script Runner アドオンをインストールします。
- ユーザーが作成したすべての
unresolved
ステータスの課題を検索します。 - 検索をフィルターとして保存します。
- 組み込みのスクリプトを使用し、対象のフィルターの項目を
None
に設定します。 resolved
ステータスを、使用したい解決状況に設定します。
Script Runner usage instructions: https://docs.adaptavist.com/sr4jc/latest/features/built-in-scripts/bulk-fix-resolutions
Jira アプリケーションでの解決状況の一括編集についてのオープンな機能リクエストがあります: - JRA-7302Getting issue details... STATUS 。