0

I am trying to set the dtDue field using the XML api and it does not seem to be working (no change is applied). I am running a script against FogBugz Version 8.2.22H (DB 771, Build 2).

I tried encoding the values being set but it made no difference. I was able to update other fields such as project and priority without a problem.

Here's a sample query (I am trying to set the due date 24hrs after the opened date):

api.asp?cmd=updateCase&token=[Not Shown]&ixBug=2752&dtDue=2010-12-12T17%3A08%3A44Z

api.asp?cmd=updateCase&token=[Not Shown]&ixBug=2752&dtDue=2010-12-12T17:08:44Z

In both cases response comes back as

<response/>

Thank you in advance for your help.

flag

closed as no longer relevant by Rich Armstrong♦♦ Dec 13 2010 at 19:07

1 Answer

2

There is no updateCase command. Can you try using cmd=edit and see if this problem persists?

The XML API documentation can be found here.

link|flag
Wow you are right! My IDE must have renamed the string containing the command when re-factored a method. This would explain why it stopped working. Thank you for your help! – obarshay Dec 13 2010 at 16:44
Would have been very helpful for FogBugz to return an error when an invalid command is being issued. – obarshay Dec 15 2010 at 23:32
Good point. FogBugz will now return an error if the specified cmd is not valid. That functionality will be available in the next version of FogBugz. Thanks for your feedback! – db Dec 18 2010 at 16:38

Not the answer you're looking for? Browse other questions tagged or ask your own question.