1

1

I'd like to extract complete text summaries. The API gives me

http://[FOGBUGZ]/api.asp?token=TOKEN&cmd=search&cols=sLatestTextSummary

but cols=sLatestTextSummary elides long strings, which I guess is OK if you're exporting to Excel 2007, but what I want is a complete string. Is there a way to get one, or a way to set the maximum string length?

[I'm currently on FogBugz 7 but would be happy to hear answers about new features.]

flag

1 Answer

2

Try adding events or latestEvent to your list of cols.

From the XML API documentation:

If you include events, you will also receive all the events for that case. Include latestEvent to just get the latest event.latest event.

You can then extract a full text summary out of the s field of the bug event(s).

link|flag
Will those events be elided down to short strings too, or will I get the full text? And is the initial comment an event too? – Liudvikas Bukys Sep 24 2010 at 20:48
Events should include the full text and every action that apples to a case (opened, edited, assigned to, closed, etc.) is considered an event. – db Sep 27 2010 at 12:25

Your Answer

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