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)
Tue, Dec 1, 5:28 PM
Unknown Object (File)
Mon, Nov 30, 4:54 PM
Unknown Object (File)
Fri, Nov 27, 3:47 PM
Unknown Object (File)
Fri, Nov 27, 7:09 AM
Unknown Object (File)
Thu, Nov 26, 11:19 AM
Unknown Object (File)
Wed, Nov 25, 12:22 PM
Unknown Object (File)
Tue, Nov 24, 12:49 PM
Unknown Object (File)
Mon, Nov 23, 2:29 AM
Tokens
"Piece of Eight" token, awarded by Leenug.

Details

Reviewers
epriestley
Group Reviewers
Blessed Reviewers
Commits
Restricted Diffusion Commit
Restricted Diffusion Commit
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

Branch
herald-assignee
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
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.

Closed by commit rP54a0dd813908 (authored by @xiaogaozi, committed by @epriestley).