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

How to export Database enumeration values when creating new project area

Database enumeration values  are stored in the Database.
If we create a new project area, based on on existing project area that is using DB  enumeration values(Create a template from this project area  and use it to create a new project area)  then  DB based enumeration values are lost in the new project area.

Is there a way to export the Database enumeration values  to the new project area   from an existing project area ?

0 votes



2 answers

Permanent link
as U discovered database enums are not supported in shared projects.

there is no current way that I know of to export the list. and if there was an external source, no way that I know of to  import that list into a recreation of the enum list in a new project area.

0 votes

Comments

Thanks for the quick response.

If we create a separate project area using a template that contains DB enumeration,  do we have to recreate the enumeration id(not the values), so that the atrribute using that DB enumeration is usable in the new project area created from the template ? 
Is it also possible to populate this atrribute using DB enumeration through work item CSV import  in the new project area created from the template ? (Assuming user id. that is used for work item CSV import has the permission to create the DB enumeration values for this attribute)

just to make sure, what do you mean by 'template'.  If you mean shared process area, then we discovered that Database Enums are NOT shareable.

If you mean you created a new project style template, I also believe the DB Enums are not copied into the Process Template.

I am not sure there is a way to export these DB Enum values, such that you can import them into another project.


Permanent link
I am seeing a defect where the definition of a Database enumeration is not being correctly exported into a process  template export  file that can be later imported into another RTC server.

I created a PA with a database enumeration.  I then exported the process template and imported it into a new RTC server.  I then created a project area on the new RTC server based on the imported template.
The problem is that the work items using the database enumeration are invalid. 
The definitions for the attribute using the imported database enumeration are correctly created in any Editor Presentations using the enumeration as well as any  "types and attributes" definitions using them.

However, no enumeration definition is created. The attribute definitions still have the ID of the database enumeration, but this now seems to point to a enumeration definition that does not exist...

I think that the export/import function should warn of these and leave the system in a valid state.

As a work around, I was thinking of manually recreating the database enumeration with the missing ID. Does anyone see any reasons that this strategy would not work to fix the problem ?

0 votes

Comments

Database Enumerations are NOT exportable and they are not shareable.

you must manually create database enumerations in all cases today.

That is a very unhelpful answer.

yeh, we felt the same way.  support for Database Enums is very weak in the lifecycle of a set of projects.

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
× 6,126

Question asked: Mar 13 '13, 4:09 p.m.

Question was seen: 4,856 times

Last updated: Nov 19 '13, 4:10 p.m.

Confirmation Cancel Confirm