It's all about the answers!

Ask a question

How to get enumeration values without using work item attribute


Olivier CRIDLIG (52610) | asked Jul 18 '13, 12:55 p.m.
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

One answer



permanent link
sam detweiler (12.5k6195201) | answered Jul 18 '13, 1:50 p.m.
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.

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.