Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 317729

Summary: resolve custom initial state for Bugzilla
Product: z_Archived Reporter: Charley Wang <charley.wang>
Component: MylynAssignee: Charley Wang <charley.wang>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: eclipse, robert.elves
Version: unspecified   
Target Milestone: 3.5   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on:    
Bug Blocks: 259291    
Attachments:
Description Flags
Patch for 317729
eclipse: iplog+
mylyn/context/zip none

Description Charley Wang CLA 2010-06-23 13:12:39 EDT
As mentioned in 315104, adjust the Bugzilla connector so that it can detect and select from available initial states. Currently the connector is unable to create tasks for a repository that does not have the NEW status available as an initial state.
Comment 1 Charley Wang CLA 2010-06-25 16:29:02 EDT
Created attachment 172811 [details]
Patch for 317729

When a New Task is created in a non-local repository, the repository will attempt to query a start status from the CustomTransitionManager.

If none is available or no start status is set, it will default to returning the NEW status, which is what Mylyn does before the patch.
Comment 2 Charley Wang CLA 2010-06-25 16:29:04 EDT
Created attachment 172812 [details]
mylyn/context/zip
Comment 3 Frank Becker CLA 2010-06-27 02:45:51 EDT
Thanks,

Charley I have commit your patch (attachment#172811 [details]) to HEAD.