public static void CreateIssueFromCsv(JiraIssue jiraIssue, string token, RemoteUser user, RemoteProject project, JiraSoapServiceService jiraSoapService) { if (AreDuplicateIssues(jiraSoapService, token, project, jiraIssue) != null) { Console.WriteLine("Duplicate issue detected."); UpdateIssue(jiraSoapService, token, project, jiraIssue); } else { RemoteIssue issue = CreateIssue(project, jiraSoapService, token); //CreateComponents(project, jiraSoapService, token, issue); RemoteCustomFieldValue[] listOfCustomFields = InitCustomFields(issue, jiraIssue); InitIssue(issue, jiraIssue, listOfCustomFields, user); RemoteComment comment = CreateCommentLog(jiraIssue); PushToJira(jiraSoapService, token, issue, comment); } //DeleteAllIssues(jiraSoapService, token); }
/// <remarks/> public System.IAsyncResult BegincreateGroup(string in0, string in1, RemoteUser in2, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("createGroup", new object[] { in0, in1, in2}, callback, asyncState); }
public RemoteGroup createGroup(string in0, string in1, RemoteUser in2) { object[] results = this.Invoke("createGroup", new object[] { in0, in1, in2}); return ((RemoteGroup)(results[0])); }
public void removeUserFromGroup(string in0, RemoteGroup in1, RemoteUser in2) { this.Invoke("removeUserFromGroup", new object[] { in0, in1, in2}); }
public void addUserToGroup(string in0, RemoteGroup in1, RemoteUser in2) { this.Invoke("addUserToGroup", new object[] { in0, in1, in2}); }
private static void InitIssue(RemoteIssue issue, JiraIssue jiraIssue, RemoteCustomFieldValue[] listOfCustomFields, RemoteUser user) { issue.reporter = user.name; issue.summary = jiraIssue.Summary; issue.description = jiraIssue.Description; issue.environment = jiraIssue.EnvironmentFoundIn; issue.customFieldValues = listOfCustomFields; }