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

Getting an enumeration value from an IAttribute

 

I am working with EWM 7.0.2

On the server, I had set an IAttribute variable, whose value I now is represented by an enumeration

How can I get the enumeration value or literal from the iAttribute variable?


this is the code where I get the IAttribute variable.
IAttribute attribute1 = workItemClient.findAttribute(projectArea, attributeId, monitor);


I need to get the enumeration value from attribute1




0 votes


Accepted answer

Permanent link

 Please see:



You can search on the blog. 
You can find almost all work item API in https://github.com/jazz-community/work-item-command-line

Marcelo Bilezker selected this answer as the correct answer

1 vote

Comments
Thanks!

I was able to solve it with the first link.

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

Question asked: Oct 15 '21, 9:02 p.m.

Question was seen: 614 times

Last updated: Oct 16 '21, 10:53 p.m.

Confirmation Cancel Confirm