Changes made in StarTeam via SDK application are not committed

0 Likes

Problem:

Changes made in StarTeam via SDK application are not committed

Resolution:

Description:
When I make a change to something in StarTeam via a custom SDK application, the changes are not committed to the server and the change is rolled back.


Answer/Solution:

After making a change in StarTeam, you must call the update() method on that item for the change to be updated on the server. For example, if you change the name of a project you will need to call the update method on the project to commit the change like this:

Project project = null;

.....

project.setName("New Name");

project.update();

The same is true for views, folders, items (change requests, requirements, etc), etc.

Old KB# 30102
Comment List
Related
Recommended