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

JavaPlain set values into enumeration

 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...?
	
	
	

0 votes


Accepted answer

Permanent link
See https://rsjazz.wordpress.com/2012/08/20/manipulationg-work-item-enumeration-values/
Fran Burgos selected this answer as the correct answer

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

Question asked: Sep 03 '15, 10:11 a.m.

Question was seen: 2,030 times

Last updated: Sep 03 '15, 10:46 a.m.

Confirmation Cancel Confirm