It's all about the answers!

Ask a question

How to fetch details present in a workitem of different tabs

Chandan M B (1134079) | asked Jun 18 '15, 9:26 a.m.
In a workitem i am able to fetch overview details .
Now i need to fetch approval tab details and link tab details.

How to do it using server side plugin?


One answer

permanent link
Viginesh Sankarararaman (1112) | answered Jun 18 '15, 10:07 a.m.
edited Jun 18 '15, 10:15 a.m.
I hope you're using the Plain Java API as explained by RS Jazz in his blog.

You can use createExtension for a small profile for a work item and pass IWorkItem.APPROVAL_DESCRIPTORS_PROPERTY as an argument


load FULL_PROFILE and directly get workitem.approvalDescriptor / approvals.

As for the Link section, I couldn't find any related property and posted the same question.sometime back. 


List allAttributeHandles = workItemClient.findAttributes(projectArea, monitor);
for(Object s : allAttributeHandles)
With this, you can see all the available attributes in your console. compare the display name with fields in every tab. You'll be able to get all the fields you need.

Chandan M B commented Jun 18 '15, 10:13 a.m.

I am using server side RTC extensions. Please provide if you have a code snippet . It will be more useful for me.!!

Viginesh Sankarararaman commented Jun 18 '15, 10:24 a.m.

Go through this link: 

He has explained it well with code snippets..

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.