What is the use of arhcive option for enumeration values ?
![]()
I have custom enumeration used by a custom attribute. This custom attribute is used in a work item.
I archived one of the enumeration value, used by the work item. Archiving a value, makes it not available for further use in the enum. attribute drop down for the work item, which is expected behaviour. It also prevents making any other changes to a work item already using that archived value. Save operation fails for the work item for any other changes, with error message complaining about the archived value. This seems like bug. Any thoughts on this ? |
2 answers
![]()
Hi Eric,
Sorry, Seems I did not get notification on your comment and missed to respond. I saw the same behavior as you posted with respect to archived enumeration values. That is the reason, I posted the question in this forum. This behavior means, if a work item has archived enumeration value(this happens when enum. value used by a work item is archived), You can not make any other changes to that work item, without selecting a new value for the enum. value that is archived. If you take the same scenario on a work item, that has archived Iteration("Planned For" attribute in a work item) value, you can still modify the other attributes of that work item and save it with out getting any error with respect to archived iteration value. You can also test this by archiving "Planned For" value used by the work item, just like you tested the enum. value and you will see a different behavior. IMO archived enumeration values already being used by the work item should be supported just like the behavior with archived "Planned For"(Iteration) values in the work item. |