Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
string lastDeveloperComment = "There have been no comments left by a developer for this issue";

for(integer comm in getAllCommentIds(key)) {
   JComment c = getCommentById(key, comm);
   if(isUserInRole(c.author, project, "Developers")) {
       lastDeveloperComment = c.text;
   }
}
return lastDeveloperComment;
We've encountered an issue exporting this macro. Please try exporting this page again later.