Page MenuHomePhorge

Herald actions: Allow setting subtype on Maniphest tasks
ClosedPublic

Authored by aklapper on Sat, Mar 22, 10:16.
Tags
None
Referenced Files
F3323376: D25913.1743385794.diff
Sun, Mar 30, 01:49
F3320812: D25913.1743337964.diff
Sat, Mar 29, 12:32
F3320139: D25913.1743322343.diff
Sat, Mar 29, 08:12
F3308424: D25913.1743166527.diff
Thu, Mar 27, 12:55
F3307660: D25913.1743149944.diff
Thu, Mar 27, 08:19
F3305614: D25913.1743117773.diff
Wed, Mar 26, 23:22
F3304794: D25913.1743105313.diff
Wed, Mar 26, 19:55
F3303250: D25913.1743079417.diff
Wed, Mar 26, 12:43
Tokens
"Like" token, awarded by 20after4.

Details

Summary

https://secure.phabricator.com/T12314 introduced task subtypes. Allow Herald rules which change/set the subtype of a task.
Code originally written by @20after4 for Wikimedia.

Closes T16022

Test Plan
  1. Have the default subtype configuration with three types under http://phorge.localhost/config/edit/maniphest.subtypes/ defined in src/applications/maniphest/config/PhabricatorManiphestConfigOptions.php
  2. Go to http://phorge.localhost/herald/edit/?content_type=HeraldManiphestTaskAdapter&rule_type=global
  3. Under "Action", select the new "Change subtype to" option. Test the subtype search by clicking the magnifier icon, set up a Herald rule to test execution.
  4. Remove the config for http://phorge.localhost/config/edit/maniphest.subtypes/
  5. Repeat step 3, no explosions, default "Task" subtype still exists after removing the config.

Diff Detail

Repository
rP Phorge
Lint
Lint Not Applicable
Unit
Tests Not Applicable