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. |
One answer
![]()
Ralph Schoon (61.8k●3●36●43)
| answered Sep 10 '19, 9:58 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER https://rsjazz.wordpress.com/2013/01/02/working-with-work-item-attributes/ +CTRL+F type enumeration. 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. ![]() FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
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.
|