<div dir="ltr"><div><br>This will be fixed <a href="https://github.com/almighty/almighty-core/pull/195">here</a>.<br><br></div>Thanks.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 7, 2016 at 1:55 AM, Dusty Mabe <span dir="ltr"><<a href="mailto:dusty@dustymabe.com" target="_blank">dusty@dustymabe.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
I'm running the command from the readme [1] and I am getting an error (see below).<br>
Note that I have the output from alm-core streaming to my terminal so you see the<br>
error from core as well.<br>
<br>
<br>
[vagrant@f24 almighty-core]$ ./bin/alm-cli create workitem --payload '{"type": "1" , "name": "some name", "fields": { "system.owner": "tmaeder", "system.state": "open" }}' -H localhost:8080<br>
2016/09/06 20:18:11 [INFO] started id=J5v/kihB POST=<a href="http://localhost:8080/api/workitems
2016/09/06" rel="noreferrer" target="_blank">http://localhost:8080/<wbr>api/workitems<br>
2016/09/06</a> 20:18:11 [INFO] started req_id=w7m9vmdnwz-14 POST=/api/workitems from=::1 ctrl=WorkitemController action=Create<br>
2016/09/06 20:18:11 [INFO] payload req_id=w7m9vmdnwz-14 raw={"fields":{"system.owner":<wbr>"tmaeder","system.state":"<wbr>open"},"type":"1"}<br>
2016/09/06 20:18:11 loading work item type 1<br>
2016/09/06 20:18:11 not found, res={{0001-01-01 00:00:00 +0000 UTC 0001-01-01 00:00:00 +0000 UTC <nil>}  0  map[]}<br>
2016/09/06 20:18:11 [INFO] completed req_id=w7m9vmdnwz-14 status=400 error=N8DjLctB bytes=99 time=1.602504ms<br>
2016/09/06 20:18:11 [INFO] completed id=J5v/kihB status=400 time=6.633171ms<br>
error: 400: {"id":"N8DjLctB","code":"bad_<wbr>request","status":400,"detail"<wbr>:"Bad value for parameter 'type': '1'"}<br>
<br>
Any tips?<br>
<br>
Dusty<br>
<br>
[1] <a href="https://github.com/almighty/almighty-core/blame/master/README.adoc#L266" rel="noreferrer" target="_blank">https://github.com/almighty/<wbr>almighty-core/blame/master/<wbr>README.adoc#L266</a><br>
<br>
______________________________<wbr>_________________<br>
almighty-public mailing list<br>
<a href="mailto:almighty-public@redhat.com">almighty-public@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/almighty-public" rel="noreferrer" target="_blank">https://www.redhat.com/<wbr>mailman/listinfo/almighty-<wbr>public</a><br>
</blockquote></div><br></div>