|
From: <lac...@us...> - 2007-10-04 10:01:08
|
Revision: 40
http://td2jira.svn.sourceforge.net/td2jira/?rev=40&view=rev
Author: lacostej
Date: 2007-10-04 03:01:12 -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:59:57 UTC (rev 39)
+++ trunk/td2jira/src/td2jira/sync/impl/CloseJiraIssue.java 2007-10-04 10:01:12 UTC (rev 40)
@@ -21,10 +21,8 @@
}
public ProcessingResult process(JIRAIssue jiraIssue, IBug tdIssue) throws Exception {
- //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");
+ logger.debug("JIRA issue " + jiraIssue.getKey() + " is NOT CLOSED and TD " + tdIssue.getId() + " 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.
|