Is it possible to automatically sort enumeration literals from A-Z?
![]()
I have a enumeration with very long literals. Is it possible to automatically sort from A-Z?
|
4 answers
![]()
Ralph Schoon (63.3k●3●36●46)
| answered Apr 26 '15, 7:33 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
I am not aware of such a feature. I think the literals appear in the order you have defined them in the process.
|
![]()
This is a topic frequently popped up in the forum. What confuses people is that the enumerations are sorted by their IDs (hidden from the GUI), not by their literal values (visible on the GUI). If you have no had any work items associated with the enumerations, you can carefully arrange the enumerations in the desired order by manually setting their IDs in the Process Configuration Source in the RTC Eclipse client - don't do it if any enumerations have been used as you will end up with incorrect values by reassigned IDs. Here are some similar posts for your reference.
https://jazz.net/forum/questions/97265/how-to-automatically-sort-an-enumeration
https://jazz.net/forum/questions/150640/sorting-work-item-queries-based-on-custom-priorities-enumerations-not-working
https://jazz.net/forum/questions/146301/sorting-by-custom-enumeration-name
https://jazz.net/jazz/resource/itemName/com.ibm.team.workitem.WorkItem/175676
|
![]()
Thanks, Ralph and Donald.
Auto sort enumeration literals is very useful feature. In my case, I have a Customer list which has more than 1000 literal values now, and more is added frequently. Hope this feature can be added to the new RTC release. Comments How is any user supposed to be able to work with 1000 literals? I think something seriously went wrong if you end with such a process design.
I do have Value Sets in Attribute Customization. Even though, you still have to pick from enumeration literals. Our Support and Dev teams have to deal with big customer base, and we cannot make our team any smaller.
![]() FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
There is no good method in any tools if the numbers for choices are that high. One will have to somehow locate the correct one.
|
![]()
Ralph, we have a constantly evolving Oracle EBS project where addig these literals has to happen. It seems like it is flaw in the design to be sorting by under the hood id. This is a constant pain point for our project
Comments Create an enhancement request with support or here: https://jazz.net/jazz/web/projects/Rational%20Team%20Concert#action=com.ibm.team.workitem.viewWelcome
|
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.