|
From: Robert M. <rob...@gm...> - 2012-10-14 08:47:41
|
Hi,
On Fri, Oct 12, 2012 at 11:51 PM, JR10 <jr...@jr...> wrote:
> $username = "username";
> $password = "password";
> $category = "Feature";
> $reproducibility = "N/A";
> $severity = "feature";
> $priority = "normal";
> $summary = "Test";
> $description = "test";
> $reproducesteps = "test";
>
> $issue_data = array(
> "project" => array("id" => "1"),
> "category" => $category,
> "reproducibility" => array("name" => $reproducibility),
> "severity" => array("name" => $severity),
> "priority" => array("name" => $priority),
> "summary" => $summary,
> "description" => $description,
> "steps_to_reproduce" => $reproducesteps
> );
>
> I'm using the above php code to add an issue. It works but the data is
> wrong.
>
> If $category is "Feature", the data is correct, and the issue is added
> with the correct data.
> if $category is "Bug", the data is incorrect, and the issue is added
> with wrong data.
> For example, severity should be "feature", but it's "trivial". priority
> should be "normal", but it's "low".
This sounds pretty unusual, can you attach the raw XML sent to Mantis?
(Make sure to remove the username/password)
Robert
>
> Thanks.
>
> ------------------------------------------------------------------------------
> Don't let slow site performance ruin your business. Deploy New Relic APM
> Deploy New Relic app performance management and know exactly
> what is happening inside your Ruby, Python, PHP, Java, and .NET app
> Try New Relic at no cost today and get our sweet Data Nerd shirt too!
> http://p.sf.net/sfu/newrelic-dev2dev
> _______________________________________________
> Mantisbt-soap-dev mailing list
> Man...@li...
> https://lists.sourceforge.net/lists/listinfo/mantisbt-soap-dev
--
Sent from my (old) computer
|