Allow for JIRA comment to be optional, with configurable value when updating ticket.
@@ -30,6 +30,8 @@ public class JiraProperties {
private String closeTransitionField;
private String closeTransitionValue;
private String closeTransition;
+ private boolean updateComment = false;
+ private String updateCommentValue = "Issue still remains";
private List<String> openStatus;
private List<String> closedStatus;
private List<Field> fields;
@@ -198,6 +200,22 @@ public class JiraProperties {
this.closedStatus = closedStatus;
}
+ public boolean isUpdateComment() {
+ return updateComment;
+ }
+
+ public void setUpdateComment(boolean updateComment) {
+ this.updateComment = updateComment;
+ }
+
+ public String getUpdateCommentValue() {
+ return updateCommentValue;
+ }
+
+ public void setUpdateCommentValue(String updateCommentValue) {
+ this.updateCommentValue = updateCommentValue;
+ }
+
public void setFields(List<Field> fields) {
this.fields = fields;
}
