|
From: Jacob R. <jr1...@gm...> - 2012-06-08 19:09:14
|
I know the title is a bit unclear, but here is my problem:
I can't figure out the value of the issue data array which is an argument
of the function mc_issue_add.
$issue_data = array(
"project" => array("id" => "1"),
"category" => "Feature",
"reproducibility" => array("name" => "always"),
"severity" => array("name" => "text"),
"priority" => array("name" => "urgent"),
"summary" => "test",
"view_state" => array(name => "private")
);
$added_issue_id = mc_issue_add($username, $password, $issue_data);
This doesn't work because of the wrong value of the "view_state".
Fatal error: Call to a member function fault() on a non-object in
/home/jr10/domains/skylinemta.com/public_html/supdawg/api/soap/mc_api.phpon
line 418
Which probably means that "view_state" is wrong. I tried commenting
view_state and it worked.
When commenting view_state out it works, but the
severity/reproducibility/priority is not what I typed and hoped for.
They're different.
|