Ignore worklogId
1 files changed, 3 insertions(+), 2 deletions(-)

M googlechat.groovy
M googlechat.groovy +3 -2
@@ 142,8 142,9 @@ abstract class ChatMessage {
 				def oldval = ci.getString("oldstring");
 				def newval = ci.getString("newstring");
 				if (field == "WorklogId") { 
+					null	// worklog ID is actually totally uninteresting. 
 					// worklog ID is weird. Only the 'old' value is set
-					keyValue(field, oldval);
+					//keyValue(field, oldval);
 				} else if (field == "description") { 
 					keyValue(field, reformat(newval)); // Don't print the old description, it's too confusing
 				} else if (field == "timespent" || field == "timeestimate" || field == "timeoriginalestimate") { 

          
@@ 153,7 154,7 @@ abstract class ChatMessage {
 				} else {
 					keyValue(field, newval + (oldval ? " (was: ${oldval})" : ""));
 				}
-			}
+			}.findResults { it } // Eliminate nulls (worklogId)
 		}
 	}
 	/* Format seconds as days, hours and minutes. */