Page MenuHomePhabricator

Herald - add support for "assignee" conditions
ClosedPublic

Authored by xiaogaozi on Dec 21 2013, 3:01 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Apr 19, 3:30 AM
Unknown Object (File)
Fri, Apr 19, 3:30 AM
Unknown Object (File)
Fri, Apr 19, 3:30 AM
Unknown Object (File)
Wed, Apr 17, 11:23 PM
Unknown Object (File)
Thu, Apr 11, 4:41 AM
Unknown Object (File)
Mon, Apr 1, 5:16 PM
Unknown Object (File)
Sat, Mar 30, 7:33 PM
Unknown Object (File)
Thu, Mar 28, 11:25 PM
Tokens
"Piece of Eight" token, awarded by Leenug.

Details

Reviewers
epriestley
Group Reviewers
Blessed Reviewers
Commits
Restricted Diffusion Commit
rP54a0dd813908: Herald - add support for "assignee" conditions
Summary

add support for "assignee" conditions

Test Plan

Create a Herald rule where condition is assignee, and create a task assign to someone.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

Thanks! I'm going to make one minor change in the pull (see inline) to make this slightly more flexible.

src/applications/herald/adapter/HeraldAdapter.php
234–235

I think this field should use this set of conditions instead, because a task may not be assigned, so "Assignee does not exist" is a meaningful filter for finding unowned tasks.