It's all about the answers!

Ask a question

Making New type attributes retroactive


Andrés Guerrero (20613218) | asked May 14 '09, 12:32 p.m.
Hi all,
I have an existing workitem type that needs a new attribute. As far as I know only new workitems of that type can show this new attribute on the presentation. I suppose that old workitems mantain its original data model.

We need that new attribute in all preexisting workitems of that type so we need a workaround.

Is there any common solution for this situation??

Our first idea to solve this is to create a new type identical to the original but adding the new attribute and then change the type of the affected workitems from the old one to the new one.
With this operation all the previously informed fields are mapped correctly and the new one appears empty.
Is this a good solution?

Thanks in advance


Andres

4 answers



permanent link
Patrick Streule (4.9k21) | answered May 14 '09, 2:17 p.m.
JAZZ DEVELOPER
I have an existing workitem type that needs a new attribute. As far as
I know only new workitems of that type can show this new attribute on
the presentation. I suppose that old workitems mantain its original
data model.

We need that new attribute in all preexisting workitems of that type
so we need a workaround.

Is there any common solution for this situation??

This is the typical way of doing this:

1) Create a query that selects the work items that don't have the
attribute yet
2) Select the work items
3) Right-click on the type column
4) Choose 'Synchronize Attributes' from the context menu

--
Regards,
Patrick
Jazz Work Item Team

permanent link
Andrés Guerrero (20613218) | answered May 15 '09, 6:39 a.m.
Bufff!
I didn't know that feature! Thank you very much!!
Our first option was very heavy to do ...

Thanks again

Andres

permanent link
Patrick Streule (4.9k21) | answered May 15 '09, 7:12 a.m.
JAZZ DEVELOPER
Bufff!
I didn't know that feature! Thank you very much!!
Our first option was very heavy to do ...

Thanks again

The feature is really hard to discover... ;) But there are plans to
integrate this into the flow of creating new attributes for a type.

--
Regards,
Patrick
Jazz Work Item Team

permanent link
Brian Wolfe (25613725) | answered May 19 '09, 8:40 a.m.
Keep in mind that if you have a lot of artifacts you may need to do it more than once -- I believe the default view of a query retrieves ony 1000 workitems.

Also, the shift-select for multi select can be weird if you have a large number of items in a list -- use ctrl-A to select all and be patient.

Your answer


Register or 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.