Page 1 of 1

Editing Work Item

Posted: Mon Mar 03, 2014 3:03 pm
by DAWPage
Is it possible to change the status and milestone of a work order item using the API?

I have figured out how to get a MantisItemFullDetail or MantisItemExpanded of an item, I just don't see any methods anywhere to post any changes. Does anybody have an example or is there any documentation anywhere on how to edit a work item?

Thanks,
Dave Williamson
Edibar Systems Inc.

Re: Editing Work Item

Posted: Tue Mar 04, 2014 8:33 am
by jclausius
It is pretty much the same as the ProcessCommandAddFortressItem() in this API example - http://support.sourcegear.com/viewtopic ... 490#p32490

except you would use a normal MantisItem (as the expanded is not necessary), and call ItemTrackingOperations.ProcessCommandModifyFortressItem() instead of ProcessCommandAddFortressItem()

HTH