| ID |
{{ iteration.id.short() }}{{ id_rest }}
|
| Title |
{{ iteration.title }} |
| Status |
{% match iteration.status %}
{% when IterationStatus::Active %}
active
{% when IterationStatus::Completed %}
completed
{% when IterationStatus::Failed %}
failed
{% endmatch %}
|
| Tasks |
{{ tasks.len() }} |
{% match iteration.phase_count %}
{% when Some with (n) %}
| Phases |
{{ n }} |
{% when None %}
{% endmatch %}
{% if !iteration.tags.is_empty() %}
| Tags |
{% for t in iteration.tags %}#{{ t }}{% if !loop.last %} {% endif %}{% endfor %} |
{% endif %}
| Created |
{{ iteration.created_at.format("%Y-%m-%d %H:%M UTC") }} |
| Updated |
{{ iteration.updated_at.format("%Y-%m-%d %H:%M UTC") }} |
{% if !iteration.description.is_empty() %}
Description
{{ iteration.description }}
{% endif %}
{% if !tasks.is_empty() %}
Tasks by Phase
{% for phase in phases %}
Phase {{ phase.number }}
{% for task in phase.tasks %}
|
{% match task.status %}
{% when TaskStatus::Open %}
○
{% when TaskStatus::InProgress %}
◐
{% when TaskStatus::Done %}
●
{% when TaskStatus::Cancelled %}
✗
{% endmatch %}
|
{{ task.id.short() }}
|
{% match task.priority %}
{% when Some with (p) %}[P{{ p }}] {% when None %}
{% endmatch %}
{{ task.title }}
|
{% match task.status %}
{% when TaskStatus::Open %}open
{% when TaskStatus::InProgress %}in-progress
{% when TaskStatus::Done %}done
{% when TaskStatus::Cancelled %}cancelled
{% endmatch %}
|
{% endfor %}
{% endfor %}
{% endif %}