Page MenuHomePhabricator
Paste P1175

chasemp_ext_id_custom_field_maniphest_creation_via_arc
ActivePublic

Authored by chasemp on Jun 11 2014, 6:51 PM.
Tags
None
Referenced Files
F165029: Screen_Shot_2014-06-11_at_2.01.37_PM.png
Jun 11 2014, 7:01 PM
F165016: Screen_Shot_2014-06-11_at_1.57.16_PM.png
Jun 11 2014, 6:57 PM
F165017: Screen_Shot_2014-06-11_at_1.57.23_PM.png
Jun 11 2014, 6:57 PM
F165012: Screen_Shot_2014-06-11_at_1.53.02_PM.png
Jun 11 2014, 6:53 PM
F165008: Screen_Shot_2014-06-11_at_1.51.23_PM.png
Jun 11 2014, 6:51 PM
F165006: chasemp_ext_id_custom_field_maniphest_creation_via_arc
Jun 11 2014, 6:51 PM
Subscribers
None
[m]root@server>echo '{"title":"foo3", "auxiliary":{"ext_id":"456"}}' | /srv/phab/arcanist/bin/arc call-conduit maniphest.createtask --trace
libphutil loaded from '/srv/phab/libphutil/src'.
arcanist loaded from '/srv/phab/arcanist/src'.
Config: Reading user configuration file "/home/rush/.arcrc"...
Config: Reading system configuration file "/etc/arcconfig"...
Working Copy: Unable to find .arcconfig in any of these locations: /root/phabricator-tools/.arcconfig.
Working Copy: Path "/root/phabricator-tools" is part of `git` working copy "/root/phabricator-tools".
Working Copy: Project root is at "/root/phabricator-tools".
Config: Did not find local configuration at "/root/phabricator-tools/.git/arc/config".
>>> [0] <conduit> conduit.connect() <bytes = 467>
>>> [1] <http> http://phabricator.wikimedia.org/api/conduit.connect
<<< [1] <http> 141,731 us
<<< [0] <conduit> 142,101 us
Waiting for JSON parameters on stdin...
>>> [2] <conduit> maniphest.createtask() <bytes = 233>
>>> [3] <http> http://phabricator.wikimedia.org/api/maniphest.createtask
<<< [3] <http> 164,677 us
<<< [2] <conduit> 165,179 us
{"error":null,"errorMessage":null,"response":{"id":7,"phid":"PHID-TASK-yecpkdwylntmzzmnj2dz","authorPHID":"PHID-USER-m5c7ihhoykpjoqlrmuoz","ownerPHID":null,"ccPHIDs":[],"status":"open","statusName":"Open","isClosed":false,"priority":"Needs Triage","priorityColor":"violet","title":"foo3","description":"","projectPHIDs":[],"uri":"http:\/\/phabricator.wikimedia.org\/T7","auxiliary":{"std:maniphest:external_id":null},"objectName":"T7","dateCreated":1402512547,"dateModified":1402512547,"dependsOnTaskPHIDs":[]}}

Event Timeline

chasemp changed the title of this paste from untitled to chasemp_ext_id_custom_field_maniphest_creation_via_arc.
chasemp updated the paste's language from autodetect to autodetect.

Screen_Shot_2014-06-11_at_1.51.23_PM.png (413×1 px, 40 KB)

Try for foo4

echo '{"title":"foo4", "auxiliary":{"std:maniphest:ext_id":"789"}}' | /srv/phab/arcanist/bin/arc call-conduit maniphest.createtask --trace
libphutil loaded from '/srv/phab/libphutil/src'.
arcanist loaded from '/srv/phab/arcanist/src'.
Config: Reading user configuration file "/home/rush/.arcrc"...
Config: Reading system configuration file "/etc/arcconfig"...
Working Copy: Unable to find .arcconfig in any of these locations: /root/phabricator-tools/.arcconfig.
Working Copy: Path "/root/phabricator-tools" is part of `git` working copy "/root/phabricator-tools".
Working Copy: Project root is at "/root/phabricator-tools".
Config: Did not find local configuration at "/root/phabricator-tools/.git/arc/config".
>>> [0] <conduit> conduit.connect() <bytes = 467>
>>> [1] <http> http://phabricator.wikimedia.org/api/conduit.connect
<<< [1] <http> 147,334 us
<<< [0] <conduit> 147,758 us
Waiting for JSON parameters on stdin...
>>> [2] <conduit> maniphest.createtask() <bytes = 251>
>>> [3] <http> http://phabricator.wikimedia.org/api/maniphest.createtask
<<< [3] <http> 154,893 us
<<< [2] <conduit> 155,418 us
{"error":null,"errorMessage":null,"response":{"id":8,"phid":"PHID-TASK-ttpains753fdn5h36437","authorPHID":"PHID-USER-m5c7ihhoykpjoqlrmuoz","ownerPHID":null,"ccPHIDs":[],"status":"open","statusName":"Open","isClosed":false,"priority":"Needs Triage","priorityColor":"violet","title":"foo4","description":"","projectPHIDs":[],"uri":"http:\/\/phabricator.wikimedia.org\/T8","auxiliary":{"std:maniphest:external_id":null},"objectName":"T8","dateCreated":1402512974,"dateModified":1402512974,"dependsOnTaskPHIDs":[]}}
echo '{"title":"foo5", "auxiliary":{"std:maniphest:external_id":"789"}}' | /srv/phab/arcanist/bin/arc call-conduit maniphest.createtask --trace
libphutil loaded from '/srv/phab/libphutil/src'.
arcanist loaded from '/srv/phab/arcanist/src'.
Config: Reading user configuration file "/home/rush/.arcrc"...
Config: Reading system configuration file "/etc/arcconfig"...
Working Copy: Unable to find .arcconfig in any of these locations: /root/phabricator-tools/.arcconfig.
Working Copy: Path "/root/phabricator-tools" is part of `git` working copy "/root/phabricator-tools".
Working Copy: Project root is at "/root/phabricator-tools".
Config: Did not find local configuration at "/root/phabricator-tools/.git/arc/config".
>>> [0] <conduit> conduit.connect() <bytes = 467>
>>> [1] <http> http://phabricator.wikimedia.org/api/conduit.connect
<<< [1] <http> 183,814 us
<<< [0] <conduit> 184,197 us
Waiting for JSON parameters on stdin...
>>> [2] <conduit> maniphest.createtask() <bytes = 256>
>>> [3] <http> http://phabricator.wikimedia.org/api/maniphest.createtask
<<< [3] <http> 287,827 us
<<< [2] <conduit> 288,300 us
{"error":null,"errorMessage":null,"response":{"id":9,"phid":"PHID-TASK-z5bmaoh27bz4vypsxj7o","authorPHID":"PHID-USER-m5c7ihhoykpjoqlrmuoz","ownerPHID":null,"ccPHIDs":[],"status":"open","statusName":"Open","isClosed":false,"priority":"Needs Triage","priorityColor":"violet","title":"foo5","description":"","projectPHIDs":[],"uri":"http:\/\/phabricator.wikimedia.org\/T9","auxiliary":{"std:maniphest:external_id":"789"},"objectName":"T9","dateCreated":1402513205,"dateModified":1402513205,"dependsOnTaskPHIDs":[]}}