HomePhabricator

Add a priorityColor property to the maniphest conduit endpoint

Description

Add a priorityColor property to the maniphest conduit endpoint

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

Reviewers: epriestley, Blessed Reviewers

Reviewed By: epriestley, Blessed Reviewers

Subscribers: epriestley, Korvin

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

Details

Provenance
bwintertonAuthored on
epriestleyCommitted on Apr 9 2014, 6:32 PM
epriestleyPushed on Apr 9 2014, 6:32 PM
Reviewer
Blessed Reviewers
Differential Revision
D8734: Add a priorityColor property to the maniphest conduit endpoint
Parents
rP2d43cf12964d: OAuth - add a little notes section for admins to remember details about…
Branches
Unknown
Tags
Unknown

Event Timeline