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
F19279512: D8734.id20717.diff
Tue, Dec 23, 2:53 AM
F19228988: D8734.id20714.diff
Sat, Dec 20, 11:46 AM
F19064779: D8734.id.diff
Sat, Nov 29, 11:10 PM
F19023733: D8734.diff
Mon, Nov 24, 1:47 AM
F19016700: D8734.diff
Nov 23 2025, 5:27 AM
F18825463: D8734.diff
Oct 23 2025, 10:10 PM
F18819094: D8734.id.diff
Oct 22 2025, 4:18 AM
F18808244: D8734.diff
Oct 19 2025, 5:43 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
Branch
master
Lint
Lint Passed
Unit
Tests Passed

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).