Page MenuHomeDevCentral

Handle wordsAreStrong in ProjectGroupMapping
Open, WishlistPublic

Description

When an event occurs on Phabricator, a PhabricatorStory instance is created by the Notification Center.

It's then mapped to a notifcations group. If this story contains projects tags, the following rules could apply:

  • if a group mapping contains the relevant project, return this group
  • if a group mapping and the story share specific keywords, return this group
  • if none is possible, return the default group as fallback

The project search is done by the method doesProjectBelong, the story keywords search by the method doesStoryBelong.

The current order priority is from the top to the bottom of the configuration file.

We would like to prioritize some keywords, when a mapping contains the option wordsAreStrong set to true, it should be prioritary be this group returned, even if another project matches.

See P165$39 for an example.

Event Timeline

dereckson triaged this task as Wishlist priority.Feb 18 2016, 05:44
dereckson created this task.
dereckson moved this task from Backlog to Dev on the good-first-issue board.
dereckson moved this task from Backlog to Bugs on the Notifications center board.

notification/app/analyszers/Phabricator/