Editing Work Item

Post your questions regarding using the Vault and Fortress API in your programs.

Moderator: SourceGear

Post Reply
DAWPage
Posts: 14
Joined: Fri Feb 07, 2014 10:26 am

Editing Work Item

Post by DAWPage » Mon Mar 03, 2014 3:03 pm

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.

jclausius
Posts: 3702
Joined: Tue Dec 16, 2003 1:17 pm
Location: SourceGear
Contact:

Re: Editing Work Item

Post by jclausius » Tue Mar 04, 2014 8:33 am

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
Jeff Clausius
SourceGear

Post Reply