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

Change Data Type of Existing Artefact Attribute

My customer has created an Artifact Attribute called Priority as a Data Type of String. They now wish to change the data type from String to a Custom Attribute Data Type (Priority) that will enforce Must, Should, Could, Won't.

Is there a way to change the existing Artifact attribute from String to point to the new custom Data Type? If not, what does IBM recommend?

0 votes


Accepted answer

Permanent link
Hi Dan,

As I'm sure you've seen, the system does not allow you to change the data type of an attribute.  I know of no way to convert an attribute to a new data type while retaining existing values.  CSV does not support round trip updates.  ReqIF does, but it will create types that do not exist rather than merging in to existing (which is by design).  I imagine this could only be achieved by:
  • Adding the new Priority list attribute (you can have duplicates) and associating it with your type(s)
  • Using the OSLC API to copy the values from the String type to the List type
  • Disassociating the original "Priority" attribute from the type once all values are copied
Hope it helps,
Daniel Gilio selected this answer as the correct answer

0 votes

Comments

Hi,

Is it possible to create a new Attribute through OSLC . Any jars available for it.

Please let me know.

Thanks
Vaibhav


3 other answers

Permanent link

Hi Daniel,

Were you able to achieve this requirement.

If yes, please let me who did you create the custom priority data type.

Thanks in advance.

1 vote

Comments

 Masoom, 


We were not able to convert the attribute and had to recreate and globally change the data,

Sorry I don't have better news...


Permanent link

Hi Daniel, Is it possible to create a new Attribute through OSLC . Any jars available for it.

Please let me know.

Thanks
Vaibhav

0 votes


Permanent link

Hi,

Is it possible to change the values of an enumeration datatype attribute of an artifact in RM using OSLC?

If yes, please let me know the helpful APIs.

Thanks in advance.

0 votes

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,124

Question asked: Aug 12 '14, 2:16 p.m.

Question was seen: 5,767 times

Last updated: Apr 05 '17, 1:41 a.m.

Confirmation Cancel Confirm