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
Unknown Object (File)
Fri, Jun 5, 11:02 AM
Unknown Object (File)
Mar 30 2026, 11:00 PM
Unknown Object (File)
Mar 4 2026, 5:56 AM
Unknown Object (File)
Jan 18 2026, 10:21 AM
Unknown Object (File)
Jan 12 2026, 6:30 PM
Unknown Object (File)
Jan 10 2026, 2:25 AM
Unknown Object (File)
Dec 23 2025, 2:53 AM
Unknown Object (File)
Dec 20 2025, 11:46 AM
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).