Commit 9cde7a1c authored by 黎博's avatar 黎博

fix

parent 508dd8b0
......@@ -118,9 +118,11 @@ public class DingdingUtils {
markdown.put("at", atMap);
markdown.put("msgtype", "markdown");
contentMap.put("title", "BUG修复提醒");
String content = "亲爱的" + issue.getAssignee().getName() + "同学,你有一个BUG已经超过4个小时未解决,请多注意哦!\n\n";
String content = "亲爱的" + issue.getAssignee().getDisplayName() + "同学,你有一个BUG已经超过4个小时未解决,请多注意哦!\n\n";
String bugUrl = "http://jira2.quantgroup.cn/browse/" + issue.getKey();
content += "BUG具体信息:[" + issue.getSummary().replace("\"", "") + "](" + bugUrl + ")\n\n";
content += "BUG具体信息:\n\n";
content += "- 标题:[" + issue.getSummary().replace("\"", "") + "](" + bugUrl + ")\n\n";
content += "- 优先级:" + issue.getPriority().getName() + "\n\n";
contentMap.put("text", content);
markdown.put("markdown", contentMap);
return JSON.toJSONString(markdown);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment