| Summary: | task list does not show bug as closed if custom transitions are used | ||||||
|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Severin Gehwolf <sgehwolf> | ||||
| Component: | Mylyn | Assignee: | Frank Becker <eclipse> | ||||
| Status: | RESOLVED FIXED | QA Contact: | Frank Becker <eclipse> | ||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | charley.wang, overholt, robert.elves | ||||
| Version: | unspecified | ||||||
| Target Milestone: | 3.6 | ||||||
| Hardware: | PC | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Severin Gehwolf
Severin, which version of Mylyn are you using? We had a similar report a while back and some fixes were applied: bug 324349: custom closed statuses are never used. It's version 3.5.0. Looking at bug 324349, shouldn't this be fixed? Is there a problem with the custom transition file we are using? I found the reason for your problem. You need to add all other close status to the transition file If you add ClosedCustomStatus=CLOSED your problem is fixed. (In reply to comment #3) > I found the reason for your problem. > > You need to add all other close status to the transition file > > If you add > > ClosedCustomStatus=CLOSED > > your problem is fixed. Hmm, I don't seem to get this working. Have you tried this? It does not seem to work for me: Red Hat Bugzilla #698380 is an example. Here is the content of my current transition file: CustomStatusNames=true DuplicateStatus=CLOSED ClosedCustomStatus=CLOSED ClosedCustomStatus=POST <transitions> name :UNCONFIRMED:, can_change_to :NEW,ASSIGNED,RESOLVED,MODIFIED,ON_DEV,ON_QA,VERIFIED,RELEASE_PENDING,POST,CLOSED: name :NEW:, can_change_to :ASSIGNED,RESOLVED,MODIFIED,ON_DEV,ON_QA,VERIFIED,RELEASE_PENDING,POST,CLOSED: name :ASSIGNED:, can_change_to :MODIFIED,ON_DEV,ON_QA,VERIFIED,RELEASE_PENDING,POST,CLOSED: name :MODIFIED:, can_change_to :NEW,ASSIGNED,ON_DEV,ON_QA,VERIFIED,RELEASE_PENDING,POST,CLOSED: name :ON_DEV:, can_change_to :NEW,ASSIGNED,MODIFIED,ON_QA,VERIFIED,RELEASE_PENDING,POST,CLOSED: name :ON_QA:, can_change_to :NEW,ASSIGNED,MODIFIED,ON_DEV,VERIFIED,RELEASE_PENDING,POST,CLOSED: name :RELEASE_PENDING:, can_change_to :NEW,ASSIGNED,MODIFIED,ON_DEV,ON_QA,VERIFIED,POST,CLOSED: name :VERIFIED:, can_change_to :NEW,ASSIGNED,MODIFIED,ON_DEV,ON_QA,RELEASE_PENDING,POST,CLOSED: name :POST:, can_change_to :NEW,ASSIGNED,MODIFIED,ON_DEV,ON_QA,VERIFIED,RELEASE_PENDING,CLOSED: name :CLOSED:, can_change_to :ASSIGNED,VERIFIED: Does this work for you? Created attachment 195269 [details]
my transition file
here is my transition file.
For me this work in both cases
1)
ClosedCustomStatus=CLOSED
ClosedCustomStatus=POST
2)
ClosedCustomStatus=POST
ClosedCustomStatus=CLOSED
(In reply to comment #5) > Created attachment 195269 [details] > my transition file > > here is my transition file. > > For me this work in both cases > > 1) > > ClosedCustomStatus=CLOSED > ClosedCustomStatus=POST > > 2) > > ClosedCustomStatus=POST > ClosedCustomStatus=CLOSED Ok, confimed. It works, thanks! This stuff (transition file) is really fragile, though. Not sure what was wrong with my transition file. Maybe that's just me :) (In reply to comment #6) > (In reply to comment #5) > > Created attachment 195269 [details] [details] > > my transition file > > > > here is my transition file. > > > > For me this work in both cases > > > > 1) > > > > ClosedCustomStatus=CLOSED > > ClosedCustomStatus=POST > > > > 2) > > > > ClosedCustomStatus=POST > > ClosedCustomStatus=CLOSED > > Ok, confimed. It works, thanks! This stuff (transition file) is really fragile, > though. Not sure what was wrong with my transition file. Maybe that's just me > :) Or you have not update the configuration after your changes! (In reply to comment #7) > Or you have not update the configuration after your changes! Thanks, but I'm pretty sure I did that. *** Bug 341831 has been marked as a duplicate of this bug. *** Can we close this? Severin, please feel free to update the documentation on the Wiki if there is anything that would help others to understand the format more easily. (In reply to comment #10) > Can we close this? Severin, please feel free to update the documentation on the > Wiki if there is anything that would help others to understand the format more > easily. Steffen, feel free to close this bug. I would update the documentation, but I'm not feeling knowledgeable enough to do so. Maybe Frank could elaborate on what each line does. Examples usually help. (In reply to comment #11) > (In reply to comment #10) > > Can we close this? Severin, please feel free to update the documentation on the > > Wiki if there is anything that would help others to understand the format more > > easily. > > Steffen, feel free to close this bug. > > I would update the documentation, but I'm not feeling knowledgeable enough to > do so. Maybe Frank could elaborate on what each line does. Examples usually > help. I update the documentation. Please see http://wiki.eclipse.org/Mylyn/Bugzilla_Connector#Custom_Transitions Reopening to fix assignment. Closing. |