Homec4science

Return milestone information in project.search

Authored by epriestley <git@epriestley.com> on Jan 8 2017, 20:29.

Description

Return milestone information in project.search

Summary:
Ref T12074.

  • project.search now returns milestones by default.
  • A new constraint, isMilestone, allows filtering to milestones, non-milestones, or both (API and web UI).
  • project.search now returns a milestone number for milestones, or null for non-milestones.
NOTE: Existing custom saved queries in projects which previously did not return milestones now will. I expect this to have little-to-no impact on users, and these queries are easy to correct, but I'll note this in changelogs.

Test Plan:

  • Ran various queries with project.search and in the web UI, searching for milestones, non-milestones, and both.
  • Web UI default behavior (no milestones) is unchanged, but you can now get milestones if you want them.
  • Queried a milestone by ID/PHID via API.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T12074

Differential Revision: https://secure.phabricator.com/D17153

Details

Committed
epriestley <git@epriestley.com>Jan 8 2017, 22:11
Pushed
aubortJan 31 2017, 17:16
Parents
rPHf16778fc18b7: Fix excessively strict "Can Use Application" policy filtering
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHe03103f34920: Return milestone information in project.search (authored by epriestley <git@epriestley.com>).Jan 8 2017, 22:11