Community
Participate
Working Groups
Mylyn usually shows closed bugs crossed off. This isn't the case for closed bugs on a Bugzilla instance using custom transitions. Steps to reproduce: 1.) Create a Red Hat Bugzilla task repo. URL: https://bugzilla.redhat.com/ 2.) Use custom transition file: http://fedorapeople.org/~jerboaa/mylyn_rh_bugzilla_file.txt 3.) "Open Repository Task...", enter bug id 696813 (this bug is CLOSED, resolution NEXTRELEASE). Expected results: Bug is shown crossed off in Task List view. Actual results: Bug not crossed off. The following screenshot illustrates the issue: http://fedorapeople.org/~jerboaa/eclipse-mylyn-not-showing-bug-closed-custom-transitions.png
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.