When creating a child issue, the information from the parent issue is used.
子チケット作成時に親チケットの情報を利用します。
In this example, the subject, priority, and target version are taken over.
この例では、題名、優先度、対象バージョンを引き継ぎます。
None
Bottom of issue detail
JavaScript
$(function() {
const useFieldIds = [
'issue_subject',
'issue_priority_id',
'issue_fixed_version_id'
];
const addLink = $('#issue_tree a[href*="/issues/new"]')[0];
if (!addLink) {
return;
}
for (let i = 0; i < useFieldIds.length; i++) {
const field = $('#' + useFieldIds[i]);
if (field.val() != null) {
addLink.href += '&' + encodeURIComponent(field.attr('name')) + '=' + encodeURIComponent(field.val());
}
}
})