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

How to fetch details present in a workitem of different tabs

Hi,
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?

Regards,
Chandan

0 votes



One answer

Permanent link
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

or

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. 

UPDATE:

List allAttributeHandles = workItemClient.findAttributes(projectArea, monitor);
for(Object s : allAttributeHandles)
System.out.println(s);
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.

0 votes

Comments

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

Go through this link: 


He has explained it well with code snippets..

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
× 7,495
× 1,220

Question asked: Jun 18 '15, 9:26 a.m.

Question was seen: 3,831 times

Last updated: Jun 18 '15, 10:24 a.m.

Confirmation Cancel Confirm