Editing Work Item

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

Moderator: SourceGear


Posts: 13
Joined: Fri Feb 07, 2014 10:26 am
PostPosted: 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.

Posts: 3480
Joined: Tue Dec 16, 2003 1:17 pm
Location: SourceGear
PostPosted: Tue Mar 04, 2014 8:33 am
It is pretty much the same as the ProcessCommandAddFortressItem() in this API example - viewtopic.php?p=32490#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

Return to Questions (API)

Who is online

Users browsing this forum: No registered users and 4 guests

cron