It's all about the answers!

Ask a question

Plug-in not installed. Need to change the Filed Against


radhika bandari (10675) | asked Nov 08 '11, 1:03 a.m.
import com.ibm.team.repository.client.IItemManager;
import com.ibm.team.repository.client.ITeamRepository;

IItemManager itm = teamRepository.itemManager();
//get existing category value.
ICategory category = (ICategory) itm.fetchCompleteItem(parentWorkItem.getCategory(), IItemManager.DEFAULT, monitor);
System.out.println("This is category: " + category.getName());

when I use above import statements, the plugin itself is not deployed on the server. It is giving this message

State
CopyAttributeValuesToChildWI (Operation Advisor) completed successfully.
what could be the probelm.
And I neednot change complete category list to new list of values, but I need to change the selected value against Filed Against field before saving workitem.
Please suggest me on this issue.
Regards,

One answer



permanent link
Arne Bister (2.6k12832) | answered Aug 18 '14, 10:54 a.m.
JAZZ DEVELOPER
Radhika,

it would appear you are using client side API, but trying to deploy to server. You need to change your code to use server side API. Please find examples in http://rsjazz.wordpress.com/2013/03/14/what-apis-are-available-for-rtc-and-what-can-you-extend/

If this answers your question please mark it as accepted.

- Arne

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.