Page MenuHomePhabricator

Provide URI/API support for querying subtasks/parents of a particular task
ClosedPublic

Authored by epriestley on Jul 28 2016, 5:50 PM.
Tags
None
Referenced Files
F18850464: D16341.id.diff
Thu, Oct 30, 5:03 PM
F18845245: D16341.diff
Wed, Oct 29, 10:39 AM
F18843720: D16341.id.diff
Wed, Oct 29, 12:29 AM
F18807809: D16341.diff
Sun, Oct 19, 3:29 AM
F18798969: D16341.id39295.diff
Fri, Oct 17, 10:19 AM
F18705185: D16341.diff
Sep 28 2025, 10:26 AM
F18507935: D16341.id.diff
Sep 5 2025, 2:31 AM
F18379802: D16341.id.diff
Aug 28 2025, 4:38 PM
Subscribers
None

Details

Summary

Ref T8126. Ref T4788. This adds a way to query by parent or subtask.

I plan to link to this from the task graph (e.g., ViewSearch Subtasks or similar, in a dropdown on the "Task Graph" element) as a way to let us bail out if tasks have 300 subtasks and send the user to a big query result list. That'll give us more flexibility to tailor the UI for reasonable numbers of tasks.

There's no UI for this unless you specify a query yourself, so the only ways to get to it are:

  • Manually put ?parentIDs=... into the URI.
  • Use the API.
  • Future link from task graphs.

It doesn't seem too useful to me on its own, outside of the context of links from tasks.

Test Plan
  • Manually put ?parentIDs=... and ?subtaskIDs=... into Maniphest query UI, got expected results.

Diff Detail

Repository
rP Phabricator
Branch
task2
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 13171
Build 16860: Run Core Tests
Build 16859: arc lint + arc unit

Event Timeline

epriestley retitled this revision from to Provide URI/API support for querying subtasks/parents of a particular task.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.
chad edited edge metadata.
This revision is now accepted and ready to land.Jul 28 2016, 5:53 PM
This revision was automatically updated to reflect the committed changes.