Ravenbrook / Projects / Perforce Defect Tracking Integration / Issues

Perforce Defect Tracking Integration


P4DTI issue job000362

Title: Can't update cases from Perforce in TeamTrack 5.0
Status: closed
Priority: critical
Assigned user: gdr
Product: p4dti
Organization: Ravenbrook
Description: If you run the TeamTrack integration with a database that you created in TeamTrack 4.5 and upgraded to TeamTrack 5.0, then you can't update cases in Perforce.
I got this error:
(P4DTI-891X) Defect tracker error (TeamShare API error): ERROR: Unable to find transition 0.
Analysis: This was reported a while back [1] but I didn't understand the significance of the report since it appeared to work in both 4.5 and 5.0. It appears that using transition 0 to mean "Update" works in 4.5 and 5.0 but not in a database upgraded from one to the other.
This indicates a serious omission from the automated test suite: we test transitioning issues from Perforce but not updating issues from Perforce.
GDR 2001-07-24: This is be because we don't grant the replicator enough privileges to perform the update. See [3]. TeamShare recommend that the replicator user should have "Submit", "Update All Issues" and "Transition All Issues" privileges for all projects which are replicated. The Administrator's Guide needs to be changed to provide this advice and to diagnose the error message.
How found: manual_test
Evidence: [1] <http://info.ravenbrook.com/mail/2001/06/27/19-31-59/0.txt>
[2] <http://www.ravenbrook.com/project/p4dti/doc/2001-07-19/release-1.1.3-test-report/>, item 2.
[3] <http://www.ravenbrook.com/project/p4dti/doc/2001-07-24/release-1.1.3-test-report/>, item 11.
Observed in: 1.1.3
Introduced in: 1.1.2
Test procedure: <http://www.ravenbrook.com/project/p4dti/master/test/test_p4dti.py>, section 10.3.3
Created by: gdr
Created on: 2001-07-19 14:27:11
Last modified by: gdr
Last modified on: 2001-12-10 19:51:14
History: 2001-07-19 GDR Created.
2001-07-20 GDR Added test case.
2001-07-24 GDR Added analysis and evidence.

Fixes

Change Effect Date User Description
14479 closed 2001-07-25 17:25:28 gdr The replicator user needs submit, update and transition privileges in TeamTrack 5.0.

Generated at 2008-12-02 04:50:52 by $Id: //info.ravenbrook.com/infosys/cgi/issue.cgi#430 $

Copyright © Ravenbrook Limited. This document is provided "as is", without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this document. You may make and distribute verbatim copies of this document provided that you do not charge a fee for this document or for its distribution.

Ravenbrook / Projects / Perforce Defect Tracking Integration / Issues