Skip to content

Latest commit

 

History

History
54 lines (37 loc) · 863 Bytes

File metadata and controls

54 lines (37 loc) · 863 Bytes

Move custom field to after the tracker

Move custom field to after the tracker.
カスタムフィールドをトラッカーの後に移動します。

Setting

Path Pattern

None

Insert Position

Bottom of issue form

Code

JavaScript

$(function() {

  // Note: Change the ID according to the custom field you want to target.
  const customField = $('p:has(#issue_custom_field_values_1)');

  $('p:has(#issue_tracker_id)')
    .after(
      $('<div class="splitcontent">')
        .append(
          $('<div class="splitcontentleft">').append(customField)));
});

Result

Before

before

After

after