Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F1591
arc-logtask
No One
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
dereckson
Apr 5 2015, 03:53
2015-04-05 03:53:38 (UTC+0)
Size
496 B
Referenced Files
None
Subscribers
None
arc-logtask
View Options
#!/bin/sh
ARC
=
arc
URL
=
"http://devcentral.nasqueron.org"
PRIORITY
=
50
ARC_OPTIONS
=
"--conduit-uri
$URL
/api"
arcTaskCreatedId
=
`
$ARC
todo
$1
--project Servers --no-ansi
$ARC_OPTIONS
|
gawk
'{match($3,"T[0-9]+",a)}END{print a[0]}'
|
cut -d
'T'
-f
2
`
$ARC
close T
$arcTaskCreatedId
--status Resolved
$ARC_OPTIONS
> /dev/null
echo
"{\"id\":
$arcTaskCreatedId
, \"priority\":
$PRIORITY
, \"viewPolicy\": \"public\"}"
|
$ARC
call-conduit maniphest.update
$ARC_OPTIONS
> /dev/null
echo
$URL
/T
$arcTaskCreatedId
File Metadata
Details
Attached
Mime Type
text/plain; charset=utf-8
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1571
Default Alt Text
arc-logtask (496 B)
Attached To
Mode
P49 arc-logtask
Attached
Detach File
Event Timeline
Log In to Comment