RTC - Question regarding creating enumeraton
Hello,
When you create an enum attribute in a project, it prompts you to choose where to store it.
"Process specification" or "Database".
Under the Note section in the knowledge center document, it says
If you store the enumeration in the database, you can add new values to the enumeration directly from the work item editor, even if you do not have permissions to modify the process specification. You still require permissions to add new values.
-
This note suggests that you can in fact "create" a new enum value rather than simply adding a new value to the work item. But this is not true, right?
My understanding is that you can only new value of enum from the process configuration. -
Does anyone know the difference here?
Tried with an user with team member access (No "Modify the process specification" access) and I could "add" both of the enum type from the Web UI. So I am confused about the difference.
If lacks of information, please let me know.
Accepted answer
Hi, Kazuki
The difference is that you can actually create a new value when stored in database option is used.
You will need to have "Save enumeration" > Create new enumeration value' permission to do that.
When you add the new enumeration attribute to presentation, you will need to check ' "allow to add new literals" checkbox in Eclipse client or set "allowAnyValue" property to true in web client.
Hope this helps.
Comments
Don, in the past a caveat of the database storage was, that process sharing did not work for those enumerations. Is that fixed in any version of RTC?
Hi, Ralph. yes, DB enumeration is not inherited in the process sharing and it is classified as a RFE: https://jazz.net/jazz/web/projects/Rational%20Team%20Concert#action=com.ibm.team.workitem.viewWorkItem&id=289206
and this WI was rejected.
Some more discussions in:
https://jazz.net/jazz/web/projects/Rational%20Team%20Concert#action=com.ibm.team.workitem.viewWorkItem&id=202554
In sharing process, we suggest to use enumeration in process specification rather than in DB.
Thank you Don-san!
I enabled those options in Process configuration, then I see a the exactly the same icon to add new values!
Comments
Kazuki Nobutani
Feb 21 '17, 8:30 p.m.Here is the link I checked.
https://www.ibm.com/support/knowledgecenter/en/SSYMRC_6.0.2/com.ibm.team.workitem.doc/topics/t_defining_priorities_severities.html