Skip to content

Latest commit

 

History

History
42 lines (30 loc) · 963 Bytes

File metadata and controls

42 lines (30 loc) · 963 Bytes

Change the version when the status is changed from the context menu

Change the version when the status is changed from the context menu of the issue list.
チケット一覧のコンテキストメニューからステータスを変更した際に、バージョン番号も変更します。

In this example, if you change the status ID to 6, the target version will be unset.
この例では、ステータスIDを6に変更すると、対象バージョンが未設定になります。

Setting

Path Pattern

None

Insert Position

Issues context menu

Code

JavaScript

const a = $('#context-menu a[href*="status_id%5D=6"]');
a.attr('href', a.attr('href') + '&issue%5Bfixed_version_id%5D=none');

Result

result