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

How to get enumeration values without using work item attribute

Hi,

I created a custom enumeration.

I would display in the follow-up action a drop-down list containing the values ​​of this enumeration.

How can I do this without using a work item attribute to find these values ? 
I want use directly the enumeration.

The RTC server version is 3.0.1.4.

Thanks.

Regards,
Olivier

0 votes



One answer

Permanent link
see the IEnumerationClient (and thus some matching service) in the 4.0.1 javadoc.

com.ibm.team.workitem.common.internal.enumeration.Enumeration[] resolveEnumerations(IProjectAreaHandle projectArea,
                                                                                    org.eclipse.core.runtime.IProgressMonitor monitor)
                                                                                    throws TeamRepositoryException
Resolves all persisted enumerations of the provided project area.

Parameters:
projectArea - the project area to find persisted enumerations in.
Returns:
persisted enumerations of the provided project area.
Throws:
TeamRepositoryException - in case of an error.

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

Question asked: Jul 18 '13, 12:55 p.m.

Question was seen: 3,668 times

Last updated: Jul 18 '13, 1:50 p.m.

Confirmation Cancel Confirm