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

Convert artifact attribute from a multiple value type to a single value

 Good morning,

I was changing the configuration for one component in DNG and I missclicked and changed the Status attribute from "One value" to "Multiple value". Now I cannot go back and change it again

The artifact attribute cannot be converted to a single value.
hide details
ID CRRRW7369E  The artifact attribute cannot be converted from a multiple value type to a single value type because there are artifacts that have multiple values set for this attribute. Edit the artifacts so that each artifact selects no more than one value for this attribute.

This is the error I am getting, but there are no artifacts with multiple status.
Anyone knows what can I do?
Thanks in advance

0 votes



2 answers

Permanent link

If you have not created values of that custom property on requirements, you could archive the old artifact attribute and create a new one that has the cardinality that you would like.

0 votes

Comments

Thank you for your answer. The thing is that I had already introduced the status for all my requirements, but they currently have only ONE status, not many of them (as the error message says) 

I suspect the real answer is that what you want to do is curerntly not supported. But I'm willing to be contradicted by someone on the DOORS Next dev team. :-)


Permanent link

Hello Pablo,

i usually follow the procedure below to fix the problem:
  1. Create a view with all articats having that attribute set. Filter on artifact type
  2. Remove the columns Name, Modified On and Modified By. Add a column with the Status attribute. Leave the coluns ID and Artifact Type, as they'll be required later
  3. Save this configuration to a view
  4. Export the newly created view to an excel file
  5. Remove the Status Attribute from the Artifact Type, that use it and save.
  6. Delete the attribute Status and recreate it.
  7. Add the attribute to the Artifact Type, that use it and save.
  8. Import the excel file you exported.
Now you have the Status attribute configured as single value and the values of the attribute on artifacts restored to their previous value.
I hope this helps
Regards

0 votes

Comments

Be aware that this will create a new artifact attribute and new verion(s) of the updated requirements. The old versions of requirements in other configurations such as baselines, will still refer to the old artifact attribute.

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

Question asked: Nov 10 '22, 7:47 a.m.

Question was seen: 862 times

Last updated: Nov 14 '22, 11:59 a.m.

Confirmation Cancel Confirm