Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

rtc category get from item id(String)

 How can I get Category from item id(String) using API?

0 votes

Comments

Please provide what you have - what kind of object?

See How should I ask a question in the Forum if I want to receive useful answers?

 ICategory category = null;

try {
category = (ICategory) teamRepository.itemManager().fetchCompleteItem(iCategoryHandles, IItemManager.DEFAULT, null);
} catch (TeamRepositoryException e) {
e.printStackTrace();
logger.error(e);



// That is what I am looking for
ICategory category2 = SomeMethod(category.getItemId().getUuidValue());



One answer

Permanent link
This does no seem to make so much sense.... If you have th handle already, why do u want to use the UUID? Anyway https://rsjazz.wordpress.com/2013/03/20/understanding-and-using-the-rtc-java-client-api/ explains how to get a handle from the UUID and https://rsjazz.wordpress.com/2015/02/27/a-rtc-workitem-command-line-version-2-2/ has tons of code that you might be interested in.

As long as you can not provide a clear question, that is pretty much all I can hint.

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,938

Question asked: Sep 09 '15, 3:30 a.m.

Question was seen: 2,625 times

Last updated: Sep 10 '15, 8:33 a.m.

Confirmation Cancel Confirm