P4DTI issue job000145

TitleDeleted TeamTrack states appear in Perforce jobspec
Statusclosed
Priorityessential
Assigned userGareth Rees
OrganizationRavenbrook
DescriptionIf you delete an issue state in TeamTrack, it still appears among the values for the State field in the Perforce jobspec. Similarly for deleted options for a selection field like Priority or Severity.
AnalysisThis is because fields aren't actually deleted in TeamTrack, just marked as deleted. The configurator doesn't take any notice of this deletion mark.
I'm not sure if it's safe to ignore these deleted states because TeamTrack cases may still use them. Need some advice from TeamShare here.
It is not safe to omit these deleted states. TeamShare say that old issues may still exist in these deleted states [2]. If we didn't include the deleted states in the Perforce jobspec, then we'd have to refuse to replicate these issues. I think refusal to replicate would be less acceptable than old states appearing in Perforce. GDR 2001-03-25.
GDR 2001-07-17: Why not just tell people to give their deleted states names that indicate the deletion like "xxx do not use (was assigned)". Then these would appear together in the status drop down in P4Win and people could just ignore them?
We could see which ones are actually used, but states can be undeleted.
GDR 2001-11-21: We could have an option 'use_deleted_states' which people could set if they had issues with deleted states. Otherwise, deleted states wouldn't appear.
How foundmanual_test
Evidence[1] <http://www.ravenbrook.com/project/p4dt...c/2000-12-08/release-0.4.1-test-report/>, item 1.
[2] <http://info.ravenbrook.com/mail/2001/02/14/20-57-39/0.txt>
[3] <http://info.ravenbrook.com/mail/2001/11/21/22-06-01/0.txt>
Observed in0.4.1
Created byGareth Rees
Created on2000-12-08 11:54:35
Last modified byGareth Rees
Last modified on2001-12-10 19:13:32
History2000-12-08 GDR Created.
2001-03-25 GDR Added analysis. Suspended.
2001-07-17 GDR Added anlysis: this really need to go in support field.
2001-11-21 GDR Another possible solution.

Fixes

Change Effect Date User Description
24115 closed 2001-11-22 12:42:24 Gareth Rees New configuration parameter use_deleted_selections allows you to stop deleted TeamTrack states and selections appearing in the Perforce jobspec (and so in menus in P4Win).