Herald - add support for task priority

Summary: adds a new FIELD and a new VALUE to support this. Slightly dodgy because priorities do not have phids so we have to special case how we handle this in a few spots. Ref T4294.

Test Plan: made a new rule to get cc'd on unbreak now and wishlist tasks. verified got cc'd correctly and not cc'd correctly.

Reviewers: epriestley

Reviewed By: epriestley

CC: Korvin, epriestley, aran

Maniphest Tasks: T4294

Differential Revision: https://secure.phabricator.com/D8156
This commit is contained in:
Bob Trahan
2014-02-06 11:42:31 -08:00
parent a2687caa33
commit 1527a967c0
7 changed files with 84 additions and 34 deletions

View File

@@ -222,6 +222,7 @@ JX.install('HeraldRuleEditor', {
case 'project':
case 'userorproject':
case 'buildplan':
case 'taskpriority':
var tokenizer = this._newTokenizer(type);
input = tokenizer[0];
get_fn = tokenizer[1];