sentry-phabricator icon indicating copy to clipboard operation
sentry-phabricator copied to clipboard

Can the tasks created by sentry have default values?

Open rrfeng opened this issue 9 years ago • 2 comments

Like Assigned To or any other fields。

If not, there will no people recieve the task creating message, who click the create button in sentry will must open the phabricator task and edit it.

rrfeng avatar Mar 31 '16 11:03 rrfeng

Any update here? Trying to see how one would associate sentry groups to phabricator project.

tjohnson4 avatar May 25 '17 22:05 tjohnson4

API supports following values when creating a maniphest task:

{
"title":"required string",
"description":"optional string",
"ownerPHID":"optional phid",
"viewPolicy":"optional phid or policy string",
"editPolicy":"optional phid or policy string",
"ccPHIDs":"optional list\u003cphid\u003e",
"priority":"optional int",
"projectPHIDs":"optional list\u003cphid\u003e",
"auxiliary":"optional dict"
}

You have to use Conduit API {your phabricator address}/api/project.query to find out PHID values (see /conduit/method/project.query/). I've added support for projectPHIDs it shouldn't be problem to support all fields above. Until the PR is released to pip you can clone mine fork and build the package from source using:

 pip install ./sentry-phabricator --upgrade

deric avatar May 30 '17 14:05 deric