It's all about the answers!

Ask a question

RTC Category modify name with api


Yavuz Yasin CELIK (51510) | asked Aug 26 '15, 4:24 a.m.
How can I update rtc category name with java api?

One answer



permanent link
Yavuz Yasin CELIK (51510) | answered Sep 09 '15, 3:12 a.m.
reverted Sep 09 '15, 3:13 a.m.
ICategory tempCategory = null;
// Check category on RTC.
tempCategory = HBCategory.GetICategoryFromNamePath(teamRepository, projectArea, oldCategoryPathArray);
if(tempCategory != null){
tempCategory = (ICategory) tempCategory.getWorkingCopy();

tempCategory.setName(newCategoryName);
tempCategory = workItemClient.saveCategory(tempCategory, null);
}

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.