Я создаю проблему с помощью kbsali redmine api
, я получаю тему, не может быть пустой ошибкой, даже если я передаю тему
$result=$client->issue->create([
'project_id' => 'projder',
'subject' => 'this is subject subject this is subject subject this is subject subject this is subject subject this is subject subject',
'description' => 'this is subject subject this is subject subject this is subject subject this is subje',
'assigned_to_id' => '45',
'priority_id' => $_POST['inputPriority'],
'uploads' => array(
array(
'token' => $upload->upload->token,
'filename' => $file,
'description' => 'This is my file description',
'content_type'=> 'image/png'
),
array(
'token' => $uploadoptional->upload->token,
'filename' => $optionalUpload,
'description' => 'Client Attachment',
'content_type'=> $optionalUploadType
)
)
]);
)
SimpleXMLElement Object
(
[@attributes] => Array
(
[type] => array
)
[error] => Subject cannot be blank
)