Page MenuHomePhabricator

repository.query API should include a projectPHIDs field
Closed, WontfixPublic

Description

Other .query API methods include projects in projectPHIDs, but currently not repository.create.

Use case: on an external system consuming stories through webhooks post, dispatch notifications about stories to different places according the projects.

To achieve this, we need to gather more information about stories, like the project attached to an item, which is straightforward for tasks or commits, but less for revisions. For revisions, we would like to get the list of projects attached to the repo in addition of the (rare) projects attached directly to the diff.

Event Timeline

dereckson updated the task description. (Show Details)Dec 21 2015, 3:53 PM
epriestley closed this task as Wontfix.Dec 21 2015, 11:46 PM
epriestley claimed this task.
epriestley added a subscriber: epriestley.

This will be available in a future repository.search method, via T7715. See here for some discussion:

https://secure.phabricator.com/phame/post/view/753/development_notes_2015_week_51/

I do not plan to make further changes to repository.query.