Page MenuHomePhabricator

Add transaction to the parent task when a subtask gets added via "Create Subtask"
Closed, DuplicatePublic

Description

I have a task with ~5 subtasks, and 2 of the subtasks are in the parent's transaction log as "subtask added", but the other three, made via /maniphest/task/create/?parent=xxx, are not.

Event Timeline

staticshock raised the priority of this task from to Needs Triage.
staticshock updated the task description. (Show Details)
staticshock added a project: Maniphest.
staticshock added a subscriber: staticshock.

How did you make the 2 subtasks that are in the parent's transaction log?

Those are a bit older; don't remember. Probably I created the tasks first and then linked them explicitly via Edit Blocking Tasks, Manage Dependencies, or whatever it was called at the time.

Well, as far as I know, this feature doesn't exist, even in part. Are you sure it says "subtask" and not blocking task, dependency, etc? The answer saves me an unknown amount of time searching the codebase for how "subtask" used to work...

Hmm, so are "Subtasks" and "Blocking Tasks" distinct features? You're right in that the exact text of what I'm seeing is "$user added a blocking task: $t", but is "Create Subtask" not the same as "Create Task" + "Edit Blocking Tasks" for the parent?