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

How can i get the "Filed Against" from a work item on rtc?

 I need to get the value of the Filed Against, but when i get the category is not the string im looking for.

Any idea?

0 votes

Comments

How do you get it? What do you expect? What do you see instead?

 I need to bring the name of the project area to which a workiyem belongs, if I do workitemstate.getCategory (). ToString () I get a handle and there is not the filed against name 

 There seem to be multiple issues here:
- You say that you want the name of the project area, so you would need to query the project area of a work item, not the category.

- If you need full category info, you have to request it:

ICategory category = (ICategory) repositoryItemService.fetchItem(categoryHandle, null);

I would strongly recommend to get yourself familiar with the basics on how to work with the Jazz API by reading some posts on Ralph's Blog first (rsjazz.wordpress.com)



One answer

Permanent link


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,927

Question asked: Jan 03 '19, 3:41 a.m.

Question was seen: 1,772 times

Last updated: Jan 03 '19, 5:18 a.m.

Confirmation Cancel Confirm