jira soap 创建问题不包含 setSummary 的定义
jira soap create issue does not contain a definition for setSummary
我想创建问题。可以找到 wsdl here。我使用 Visual Studio 和 c# 创建了客户端。
我可以登录
JiraSoapServiceService jiraSoapService = new JiraSoapServiceService();
jiraSoapService.login(jiraLogin, jiraPassword);
我可以获取信息
jiraSoapService.getIssue(auth, key);
但我无法创建问题
RemoteIssue issue = new RemoteIssue();
issue.setSummary(SUMMARY_NAME);
因为它给我 JIRA_API.box.RemoteIssue
不包含 setSummary
的定义。怎么了?
RemoteIssue issue = new RemoteIssue();
issue.project = "[NAME]";
issue.key="[KEY]";
issue.type = "3";
RemoteComponent component = new RemoteComponent();
component.name = "[COMPONENT_NAME]";
issue.components = (new RemoteComponent[] { component });
issue.summary = "[SUMMARY]";
issue.assignee = "[ASSIGNEE]";
RemoteIssue returnedIssue = jiraSoapService.createIssue(token, issue);
我想创建问题。可以找到 wsdl here。我使用 Visual Studio 和 c# 创建了客户端。 我可以登录
JiraSoapServiceService jiraSoapService = new JiraSoapServiceService();
jiraSoapService.login(jiraLogin, jiraPassword);
我可以获取信息
jiraSoapService.getIssue(auth, key);
但我无法创建问题
RemoteIssue issue = new RemoteIssue();
issue.setSummary(SUMMARY_NAME);
因为它给我 JIRA_API.box.RemoteIssue
不包含 setSummary
的定义。怎么了?
RemoteIssue issue = new RemoteIssue();
issue.project = "[NAME]";
issue.key="[KEY]";
issue.type = "3";
RemoteComponent component = new RemoteComponent();
component.name = "[COMPONENT_NAME]";
issue.components = (new RemoteComponent[] { component });
issue.summary = "[SUMMARY]";
issue.assignee = "[ASSIGNEE]";
RemoteIssue returnedIssue = jiraSoapService.createIssue(token, issue);