Page MenuHomePhabricator

Add a priorityColor property to the maniphest conduit endpoint
ClosedPublic

Authored by bwinterton on Apr 9 2014, 6:02 PM.
Tags
None
Referenced Files
F18601933: D8734.diff
Sep 13 2025, 1:47 PM
F18466537: D8734.id.diff
Sep 2 2025, 10:13 AM
F18443459: D8734.id20717.diff
Aug 31 2025, 6:59 PM
F18381202: D8734.id20714.diff
Aug 28 2025, 7:22 PM
F18380968: D8734.diff
Aug 28 2025, 6:40 PM
F18167778: D8734.id20717.diff
Aug 15 2025, 12:49 PM
F17992933: D8734.id20714.diff
Aug 2 2025, 2:14 AM
F17925787: D8734.id.diff
Jul 30 2025, 12:04 PM
Subscribers

Details

Summary

I added a getTaskPriorityColor function to the ManiphestTaskPriority class which returns the color set in the maniphest config for the given priority.

This is in preparation for a change to arcanist which will allow it to display the priority color (if it is a supported color) upon running arc tasks.

Fixed some linting issues

Test Plan

Invoke the maniphest.info method from conduit and ensure that:

  • The priorityColor property is given in the json
  • the priorityColor property is set correctly

Diff Detail

Repository
rP Phabricator
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

bwinterton retitled this revision from to Add a priorityColor property to the maniphest conduit endpoint.
bwinterton updated this object.
bwinterton edited the test plan for this revision. (Show Details)
bwinterton added a reviewer: epriestley.
This revision is now accepted and ready to land.Apr 9 2014, 6:31 PM
epriestley updated this revision to Diff 20717.

Closed by commit rPb660960771a4 (authored by @bwinterton, committed by @epriestley).