Start a new task from a closed task
This commit is contained in:
@@ -34,8 +34,8 @@ func (m *Manager) mergeNote(ctx context.Context, task api.Task, login string) (s
|
||||
if task.TodoItem != nil {
|
||||
fmt.Fprintf(b, "Started from the TODO item %q.\n", *task.TodoItem)
|
||||
}
|
||||
if task.ForkedFrom != nil && task.ForkedAt != nil {
|
||||
fmt.Fprintf(b, "Forked from task %s at snapshot %d.\n", *task.ForkedFrom, *task.ForkedAt)
|
||||
if task.ForkedFrom != nil {
|
||||
fmt.Fprintf(b, "This task was %s.\n", forkOrigin(task, "task "+*task.ForkedFrom))
|
||||
}
|
||||
fmt.Fprintf(b, "Full transcripts: the events of task %s in byre (GET /api/events?task_id=%s).\n", task.Id, task.Id)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user