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

Value of Filed Against?

 How to get the value of Filed Against ?

0 votes


Accepted answer

Permanent link
Do you need to get it programmatically, using server-side Java API?

AbstractService pluginAbstractService = (AbstractService) this;
IRepositoryItemService repositoryItemService = pluginAbstractService.getService(IRepositoryItemService.class);
ICategoryHandle categoryHandle = workItem.getCategory();
ICategory category = (ICategory) repositoryItemService.fetchItem(categoryHandle, IRepositoryItemService.COMPLETE);
String categoryName = category.getName();

AMEYA KALE selected this answer as the correct answer

0 votes

Comments
Thank your time and effort for the above code snippet.

I tried the following code by which I could retrieve the current value of "Filed Against"

ICategoryHandle iCategoryHandle = workItem.getCategory();

workItemCommon.resolveHierarchicalName(iCategoryHandle,monitor); 



2 other answers

Permanent link

 These are determined by the Categories specified in the project settings. Open the project configuration in the web client, and then click on the Categories tab. Categories are mapped to teams. Think of it as a way to direct a work item to a team without having to know a specific person on that team (such as when creating a defect). This allows the team to prioritize work items and assign to developers based on their availability. 

0 votes


Permanent link

 See https://rsjazz.wordpress.com/2013/01/02/working-with-work-item-attributes/ and the related posts.

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

Question asked: May 08 '19, 9:07 a.m.

Question was seen: 1,294 times

Last updated: May 09 '19, 5:49 a.m.

Confirmation Cancel Confirm