3

I am trying to have the template of Phabricator's arc diff something similar to this:

Some title

Summary:

Reviewers:

TaskID: (← missing!)

Subscribers:

By default, Phabricator doesn't come with a "TaskID field". Is there any buildin support, or how do I achieve this?

Basically I want to associate a Task ID field with the actual Manifest Task's ID.

4

1 回答 1

5

在摘要中使用Ref T123(links) 或Fixes T123(links, and closes when pushes),或单独添加Maniphest Tasks: T123一行。该字段是内置的,但默认情况下不显示该字段,因为大多数用户使用Ref/Fixes速记。

您可以实施shouldAppearInCommitMessageTemplate()onDifferentialManiphestTasksField以强制它出现在模板上。这可能是https://secure.phabricator.com/T6030之后的可配置选项

于 2014-10-24T18:48:06.400 回答