{{-- One story row of the "Moved in Jira" queue: the story itself plus its nested pending sub-tasks / linked tasks. Rendered standalone, or as a member of a merged prefix group ($member = true, $display = the title minus the shared prefix). --}} @php $m = $n['move']; $subs = $n['subtasks']; @endphp
@if (count($subs))@endif @if ($m->status_to) @endif{{ $display ?? ($m->summary ?: $m->jira_key) }} @if (!empty($m->source_label)){{ $m->source_label }}@endif @if (count($subs))· {{ count($subs) }} linked@endif @if ($jiraBase){{ $m->jira_key }}@else{{ $m->jira_key }}@endif @if ($m->issue_type) · {{ $m->issue_type }}@endif @if ($m->status_from) · from {{ $m->status_from }}@endif @if ($m->assignee_email) · {{ $names[$m->assignee_email] ?? $m->assignee_email }}@endif @if ($m->moved_at) · {{ $m->moved_at->diffForHumans() }}@endif @if ($n['storyTracked']) in Weekly @else @endif
@if (count($subs))
@foreach ($subs as $s)
{{ $s['summary'] ?: $s['key'] }} @if ($jiraBase){{ $s['key'] }}@else{{ $s['key'] }}@endif · {{ $s['type'] ?? 'Sub-task' }} @if ($s['assignee_email']) · {{ $names[$s['assignee_email']] ?? $s['assignee_email'] }}@endif @if (!empty($s['tracked'])) in Weekly @else @endif
@endforeach
@endif