We have both JJupin/SIL and Kepler custom fields (KCF). This involves the use of KCF. We used a routine published on the Kepler-rominfo website created by Felix Martineau of TechSolCom: http://tinyurl.com/jwsusxt. which provide a method for obtaining the Last Comment and as a custom field and using it on view screen or gadget or navigator. This part works well for us and here's the code:
//LAST COMMENT CODE
string lastCommentDetails = getLastComment(key);
return userFullName(lastCommentDetails["author"]) + ": " + lastCommentDetails["text"];
What is happening is each time a navigator search is completed with the "Last Comment" field included as a column we now see this in the log for each issue without a comment:
2015-01-02 14:30:09,403 http-bio-8080-exec-4 WARN <ID> 870x193620x2 2j3g06 <IP> /rest/issueNav/1/issueTable [commons.ivm.routines.GetLastCommentRoutine] No comments for issue TS-3314
2015-01-02 14:30:09,414 http-bio-8080-exec-4 WARN <ID> 870x193620x2 2j3g06 <IP> /rest/issueNav/1/issueTable [commons.ivm.routines.GetLastCommentRoutine] No comments for issue TS-3314
Our thought was to attempt to suppress this WARN by first checking if a comment existed on the issue by using getComment() and just returning from the code if this returned Null, but that does not seem to work.
I should mention we have NOT turned on logging for Kepler in log4.properties nor any other SIL logging.
Any help is appreciated as this is filling up our logs and making it difficult to debug other issues.
You can set the log level on error for the package 'com.keplerrominfo' in the Logging & Profiling page. This way the warn messages will not be shown. We will change the log level for this one on debug in a future(next?) release.
Good morning, After a long weekend cleaning up, I am still in the cleanup mode 😊. I am curious to know: When do you feel the urgency to cleanup your Atlassian Tools? How many times do y...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs