feat(测试跟踪): tapd提交缺陷时增加创建人
This commit is contained in:
parent
8dca4bce9a
commit
be29bcc04f
|
@ -193,10 +193,13 @@ public class IssuesService {
|
||||||
List<String> tapdUsers = issuesRequest.getTapdUsers();
|
List<String> tapdUsers = issuesRequest.getTapdUsers();
|
||||||
String usersStr = String.join(";", tapdUsers);
|
String usersStr = String.join(";", tapdUsers);
|
||||||
|
|
||||||
|
String username = SessionUtils.getUser().getName();
|
||||||
|
|
||||||
MultiValueMap<String, Object> paramMap = new LinkedMultiValueMap<>();
|
MultiValueMap<String, Object> paramMap = new LinkedMultiValueMap<>();
|
||||||
paramMap.add("title", issuesRequest.getTitle());
|
paramMap.add("title", issuesRequest.getTitle());
|
||||||
paramMap.add("workspace_id", tapdId);
|
paramMap.add("workspace_id", tapdId);
|
||||||
paramMap.add("description", issuesRequest.getContent());
|
paramMap.add("description", issuesRequest.getContent());
|
||||||
|
paramMap.add("reporter", username);
|
||||||
paramMap.add("current_owner", usersStr);
|
paramMap.add("current_owner", usersStr);
|
||||||
|
|
||||||
ResultHolder result = call(url, HttpMethod.POST, paramMap);
|
ResultHolder result = call(url, HttpMethod.POST, paramMap);
|
||||||
|
|
Loading…
Reference in New Issue