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

How to fetch a selected value of a custom attribute of type enum(drop down) using JAVA API

 I have a custom attribute of custom work item type. It is a drop down of type Enum. How to fetch the selected value of already created workItem using Java API.

0 votes



One answer

Permanent link

 https://rsjazz.wordpress.com/2013/01/02/working-with-work-item-attributes/ +CTRL+F type enumeration.


0 votes

Comments

Thanks for your response Ralph. This code will help me get all the dropdown values. I am looking for code that will help me fetch the selected value in the dropdown. Could you please help here. 

You can not fetch any value of any dropdown. You can read the work item attribute value. Or you can iterate the enumeration to get the available literals and literal ID's, to set a value.


Read the rest of the article and follow the suggestions for other links if you are new.  

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

Question asked: Sep 10 '19, 9:38 a.m.

Question was seen: 1,388 times

Last updated: Sep 12 '19, 7:04 a.m.

Confirmation Cancel Confirm