### Eclipse Workspace Patch 1.0 #P org.eclipse.mylyn.jira.core Index: src/org/eclipse/mylyn/internal/jira/core/JiraTaskDataHandler.java =================================================================== RCS file: /cvsroot/tools/org.eclipse.mylyn/org.eclipse.mylyn.jira.core/src/org/eclipse/mylyn/internal/jira/core/JiraTaskDataHandler.java,v retrieving revision 1.79 diff -u -r1.79 JiraTaskDataHandler.java --- src/org/eclipse/mylyn/internal/jira/core/JiraTaskDataHandler.java 13 Aug 2009 22:23:28 -0000 1.79 +++ src/org/eclipse/mylyn/internal/jira/core/JiraTaskDataHandler.java 2 Sep 2009 12:26:15 -0000 @@ -938,8 +938,13 @@ } else { String operationId = getOperationId(taskData); String newComment = getNewComment(taskData); - // do normal workflow all the time - if (!JiraRepositoryConnector.isClosed(issue) + + // if only comment was modified do not do the workflow + // otherwise do the whole workflow + if (changedAttributes.size() == 1 + && changedAttributes.iterator().next().getId().equals(TaskAttribute.COMMENT_NEW)) { + client.addCommentToIssue(issue, newComment, monitor); + } else if (!JiraRepositoryConnector.isClosed(issue) && taskData.getRoot().getMappedAttribute(IJiraConstants.ATTRIBUTE_READ_ONLY) == null) { client.updateIssue(issue, newComment, monitor); } else if (newComment.length() > 0) {