Page MenuHomePhabricator

Task's Main Project / Task's Main Parent
Closed, ResolvedPublic

Asked by slashsBin on Dec 20 2016, 1:59 PM.

Details

I'm working on a Gantt-Chart Dashboard for Phabricator, and have two Main Problem:

Task's Main Project

How does the Maniphest App detect the correct project for a Task which has multiple project tags?

If we use this Maniphest query which Groups the Result by Projects, if a Task has multiple projects tags(For Example T11892: Aphlict does not work using SSL and node 6.9.1 has the Tags: Bug Report and Aphlict) then Maniphest chooses one of them to Group by it.

I'd like to achieve similar Result(or be able to parse the JSON result manually and group the tasks by projects) with Conduit maniphest.search or maniphest.query APIs.

I'm familiar with maniphest.search Project Attachment which lists the tasks projects, but how can I choose which Project to Group by it? Does the First Item the Main Project?

Task's Main Parent

I have same issue when dealing with Tasks and it's sub-tasks. Currently maniphest.search API does not give any information about sub-tasks, but maniphest.query does(via dependsOnTaskPHIDs). But how can I choose which Item is it's main/direct parent?

I'd like to find out Task's direct parent to Group them together.

Answers

chad
Updated 2,894 Days Ago

There is no such thing as a main project in Phabricator. Projects are just tags to describe a task.

slashsBin
Updated 2,894 Days Ago

So how does Phabricator choose one of Task projects to group upon?

How about Task dependencies?

New Answer

Answer

This question has been marked as closed, but you can still leave a new answer.