feat(测试跟踪): tapd提交缺陷时增加创建人

This commit is contained in:
shiziyuan9527 2020-09-16 14:26:54 +08:00
parent 8dca4bce9a
commit be29bcc04f
1 changed files with 3 additions and 0 deletions

View File

@ -193,10 +193,13 @@ public class IssuesService {
List<String> tapdUsers = issuesRequest.getTapdUsers();
String usersStr = String.join(";", tapdUsers);
String username = SessionUtils.getUser().getName();
MultiValueMap<String, Object> paramMap = new LinkedMultiValueMap<>();
paramMap.add("title", issuesRequest.getTitle());
paramMap.add("workspace_id", tapdId);
paramMap.add("description", issuesRequest.getContent());
paramMap.add("reporter", username);
paramMap.add("current_owner", usersStr);
ResultHolder result = call(url, HttpMethod.POST, paramMap);