0

Hello,

I am developing an integration interface with an onsite fogbugz installation. I am having some issues related to update the history / text of an existing case using the REST api. I tried using cmd=edit and as another forum article suggested cmd=new with the text changes specified in the sLatestTextSummary column. Nothing has worked so far.

In theory this (updating the text of an existing case) should have been the most easiest task - Am I missing something obvious?

Any help will be really appreciated - I am struggling here!

Thanks in advance, Chris

flag
Are you getting any errors reported back, Chris? – Ken Morse Nov 21 2009 at 18:27

4 Answers

0

If I'm reading your question right, you'll be wanting to set the "sEvent" property.

Although in my testing just now, it would appear that you can't set this with a cmd=new action. So you have to create the case, get the ID and do a cmd=edit with the sEvent property specified.

link|flag
You should be able to set sEvent with cmd=new – Michael Pryor Nov 26 2009 at 16:53
1

Also, note that just like in the FogBugz UI, if you "edit" a case via the API, it will append your text to the history of the case.

link|flag
0

If you want to try a working code sample on your fogbugz instance you can pull some out of here:

http://fogbugz.stackexchange.com/questions/719/how-can-i-specify-a-project-group-category-assignee-via-email

If you don't have a Python installed you can get it here: http://www.python.org/download/.

link|flag
0

a useful troubleshooting tool

If you can post a copy of your fogbugz session (i.e. the http-level requests/responses going between the client and server) we can see exactly what's going on and give you better advice.

Here's a nice tool for capturing your session if you don't have another one handy:

http://sockspy.sourceforge.net/sockspy.html

link|flag

Your Answer

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