Commit addf9934 authored by 黎博's avatar 黎博

发送冒烟测试报告兼容经办人未分配的情况

parent 9defd6d1
...@@ -220,7 +220,13 @@ public class DingdingUtils { ...@@ -220,7 +220,13 @@ public class DingdingUtils {
content = content + count + "、[" + issue.getSummary().replace("\"", "") + "](" + issueUrl + ")\n"; content = content + count + "、[" + issue.getSummary().replace("\"", "") + "](" + issueUrl + ")\n";
content = content + "- 优先级:" + issue.getPriority().getName() + "\n"; content = content + "- 优先级:" + issue.getPriority().getName() + "\n";
content = content + "- 状态:" + issue.getStatus().getName() + "\n"; content = content + "- 状态:" + issue.getStatus().getName() + "\n";
content = content + "- 经办人:" + issue.getAssignee().getDisplayName() + "\n\n"; String assignee = "";
if (issue.getAssignee() == null) {
assignee = "未分配";
} else {
assignee = issue.getAssignee().getDisplayName();
}
content = content + "- 经办人:" + assignee + "\n\n";
} }
if (risk != null) { if (risk != null) {
content += "风险:" + risk; content += "风险:" + risk;
......
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