It's all about the answers!

Ask a question

JavaPlain set values into enumeration


Fran Burgos (12312352) | asked Sep 03 '15, 10:11 a.m.
edited Sep 03 '15, 10:12 a.m.
 How can I get an enumeration from a Project Area? I'd like set a list of values into that enumeration.

IProcessClientService processClient = (IProcessClientService) 
					repo.getClientLibrary(IProcessClientService.class);
			
URI uri = URI.create(projectAreaName.replaceAll(" ", "%20"));
IProjectArea projectArea = (IProjectArea) processClient.findProcessArea(uri, null, null);
if (projectArea == null) {
    System.out.println("Project not found.");
}
System.out.println("Project found.");
// What else...?
	
	
	

Accepted answer


permanent link
Ralph Schoon (63.5k33646) | answered Sep 03 '15, 10:46 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
See https://rsjazz.wordpress.com/2012/08/20/manipulationg-work-item-enumeration-values/
Fran Burgos selected this answer as the correct answer

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.