Open ucan-lab opened 6 years ago
var eSum = 0, aSum = 0;$('tr:not(.js-child-issue-row) > .cell-estimated-hours').each(function(){eSum += +$(this).text()});$('tr:not(.js-child-issue-row) > .cell-actual-hours').each(function(){aSum += +$(this).text()});'予定時間: ' + eSum + ' 実績時間: ' + aSum
var eSum = 0, aSum = 0;$('.cell-estimated-hours').each(function(){eSum += +$(this).text()});$('.cell-actual-hours').each(function(){aSum += +$(this).text()});'予定時間: ' + eSum + ' 実績時間: ' + aSum
読み込まれているjQueryのバージョンを確認する
1.12.4系が使えるっぽい。
合計値を計算
Chrome開発者ツールのConsoleタブに計算式をコピペする。
合計値を計算(子課題を含む)
Chrome開発者ツールのConsoleタブに計算式をコピペする。