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:
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)
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.
Comments
Lukas Steiger
Jan 03 '19, 3:55 a.m.How do you get it? What do you expect? What do you see instead?
Álvaro Alonso
Jan 03 '19, 4:58 a.m.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
Lukas Steiger
Jan 03 '19, 5:11 a.m.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.
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)