Revision: 39
http://td2jira.svn.sourceforge.net/td2jira/?rev=39&view=rev
Author: lacostej
Date: 2007-10-04 02:59:57 -0700 (Thu, 04 Oct 2007)
Log Message:
-----------
Let the CloseJiraIssue workflow decide itself whether or not it should close itself. This allows to support real closing later on (instead of just changing the summary)
Modified Paths:
--------------
trunk/td2jira/src/td2jira/sync/impl/CloseJiraIssue.java
Modified: trunk/td2jira/src/td2jira/sync/impl/CloseJiraIssue.java
===================================================================
--- trunk/td2jira/src/td2jira/sync/impl/CloseJiraIssue.java 2007-10-04 09:54:55 UTC (rev 38)
+++ trunk/td2jira/src/td2jira/sync/impl/CloseJiraIssue.java 2007-10-04 09:59:57 UTC (rev 39)
@@ -21,10 +21,10 @@
}
public ProcessingResult process(JIRAIssue jiraIssue, IBug tdIssue) throws Exception {
- if (jiraIssue.getSummary().indexOf("(CLOSED@TD)") < 0) {
- logger.debug("JIRA issue " + jiraIssue.getKey() + " is NOT CLOSED and TD " + tdIssue.getId() + " is CLOSED; closing JIRA issue");
- jiraConnector.closeIssue(jiraIssue);
- }
+ //if( jiraIssue.getSummary().indexOf("(CLOSED@TD)") < 0 ) {
+ logger.debug("JIRA issue " + jiraIssue.getKey() + " status is NOT CLOSED and TD " + tdIssue.getId() + " status is CLOSED; closing JIRA issue");
+ jiraConnector.closeIssue(jiraIssue);
+ //}
return ProcessingResult.PROCESS_NEXT_ISSUE;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|