Jira SOAP Create 问题不包含 setSummary 的定义

本文关键字:setSummary 定义 包含 SOAP Create 问题 Jira | 更新日期: 2023-09-27 18:31:47

我想创建问题。Wsdl 可以在这里找到。我使用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的定义.怎么了?

Jira SOAP Create 问题不包含 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);