refactor: Jira id 替换为 key

This commit is contained in:
shiziyuan9527 2020-09-15 10:51:52 +08:00
parent 776d17833b
commit 84c891419f
3 changed files with 4 additions and 4 deletions

View File

@ -264,7 +264,7 @@ public class IssuesService {
String result = addJiraIssue(url, auth, json);
JSONObject jsonObject = JSON.parseObject(result);
String id = jsonObject.getString("id");
String id = jsonObject.getString("key");
// 用例与第三方缺陷平台中的缺陷关联
TestCaseIssues testCaseIssues = new TestCaseIssues();
@ -360,7 +360,7 @@ public class IssuesService {
status = statusCategory.getString("key");
}
String id = obj.getString("id");
String id = obj.getString("key");
String title = fields.getString("summary");
String description = fields.getString("description");

@ -1 +1 @@
Subproject commit b86032cbbda9a9e6028308aa95a887cff2192f1c
Subproject commit d5b4969642fd8d10cc2f949d7377e0a0e5217a3a

@ -1 +1 @@
Subproject commit 7e4d80cc2b870a8cac6dbb9fe6711ab6041faf6d
Subproject commit 0a375848d034d20eaf05caf11769e1c75c39235c