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

Bug 326216

Summary: Enable CLOSED transitions without going through RESOLVED
Product: z_Archived Reporter: Eike Stepper <stepper>
Component: MylynAssignee: Frank Becker <eclipse>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: eclipse, robert.elves
Version: unspecified   
Target Milestone: 3.5   
Hardware: All   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
mylyn/context/zip
none
Screenshot
none
Screenshot (Web UI)
none
commited patch
none
mylyn/context/zip none

Description Eike Stepper CLA 2010-09-24 23:26:57 EDT
Especially for the resolutons WONTFIX, INVALID and WORKSFORME it doesn't seem to make sense to go through RESOLVED first.
Comment 1 Steffen Pingel CLA 2010-10-26 17:54:59 EDT
Frank, do you know why these don't show in the task editor although the web interface has these transitions?
Comment 2 Frank Becker CLA 2010-10-29 15:21:45 EDT
Sorry I do not know what we should fix here.

Can you tell my what version of Bugzilla and Mylyn are on your configuration?

Can you please send my the following part of the ../config.cgi?ctype=rdf file
  <bz:status>,  <bz:status_open> and <bz:status_closed>
  
We use the following status values for completion resolved, close, verified

and after close of bug#287572 we use all status values from status_closed
Comment 3 Frank Becker CLA 2010-10-29 15:23:13 EDT
Created attachment 182078 [details]
mylyn/context/zip
Comment 4 Eike Stepper CLA 2010-10-29 15:37:18 EDT
Created attachment 182080 [details]
Screenshot

Please have a look at the attached screenshot. It shows a bugzilla in status ASSIGNED. How can I *close* it as e.g. WONTFIX?

I see no other way than going to *resolve* first. Only then I can *close* it.
Comment 5 Frank Becker CLA 2010-10-29 17:09:26 EDT
(In reply to comment #4)
> Created an attachment (id=182080)
> Screenshot
> 
> Please have a look at the attached screenshot. It shows a bugzilla in status
> ASSIGNED. How can I *close* it as e.g. WONTFIX?
> 
> I see no other way than going to *resolve* first. Only then I can *close* it.

OK now I see what the problem is. I think you use Bugzilla >= 3.2 and the admin changed the standard Workflow
( CLOSE and VERIFIED can be used from the ASSIGNED status).

In Bugzilla < 3.2 you must change Status to RESOLVED before you can use the other Status values.

Can you  use the Workflow Transission File? If so I can try to find a way to that the resolution for all closed states.
Comment 6 Eike Stepper CLA 2010-10-30 02:48:32 EDT
Created attachment 182095 [details]
Screenshot (Web UI)

> OK now I see what the problem is. I think you use Bugzilla >= 3.2 and the admin
> changed the standard Workflow
> ( CLOSE and VERIFIED can be used from the ASSIGNED status).

I'm using the Eclipse.org Bugzilla (my project is the CDO Model Repository in EMF).

> In Bugzilla < 3.2 you must change Status to RESOLVED before you can use the
> other Status values.
> 
> Can you  use the Workflow Transission File? If so I can try to find a way to
> that the resolution for all closed states.

I have no clue what the (Eclipse.org) webmasters have done. I just thought Mylyn should allow me what is possible in the web UI (see the new attached screenshot of this bug's web page).
Comment 7 Frank Becker CLA 2010-10-30 17:33:43 EDT
Created attachment 182106 [details]
commited patch

Please verify this in the next weekly build.
Comment 8 Frank Becker CLA 2010-10-30 17:33:45 EDT
Created attachment 182107 [details]
mylyn/context/zip
Comment 9 Eike Stepper CLA 2010-11-07 01:45:33 EST
Thank you Frank, I just verified your fix in today's update.
Comment 10 Frank Becker CLA 2010-12-05 15:24:52 EST
(In reply to comment #9)
> Thank you Frank, I just verified your fix in today's update.

So I close this bug.