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

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.
  1. 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.
  2. Does anyone know the difference here?
I have tested with 2 enum attributes. One stored in database and one stored in process specification.
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.

0 votes


Accepted answer

Permanent link

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.


Kazuki Nobutani selected this answer as the correct answer

1 vote

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!

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
× 1,381

Question asked: Feb 21 '17, 8:23 p.m.

Question was seen: 2,273 times

Last updated: Feb 24 '17, 5:25 p.m.

Confirmation Cancel Confirm