예제 #1
0
 /// <remarks/>
 public System.IAsyncResult BeginaddVersion(string in0, string in1, RemoteVersion in2, System.AsyncCallback callback, object asyncState)
 {
     return this.BeginInvoke("addVersion", new object[] {
                 in0,
                 in1,
                 in2}, callback, asyncState);
 }
예제 #2
0
 public void releaseVersion(string in0, string in1, RemoteVersion in2)
 {
     this.Invoke("releaseVersion", new object[] {
                 in0,
                 in1,
                 in2});
 }
예제 #3
0
 public RemoteVersion addVersion(string in0, string in1, RemoteVersion in2)
 {
     object[] results = this.Invoke("addVersion", new object[] {
                 in0,
                 in1,
                 in2});
     return ((RemoteVersion)(results[0]));
 }
예제 #4
0
        private static RemoteIssue CreateIssue(RemoteProject project, JiraSoapServiceService jiraSoapService, string token)
        {
            System.Diagnostics.Debug.WriteLine("Creating a new issue on http://jira/jira ...");
            Console.WriteLine("Creating a new issue on http://jira/jira ...");

            RemoteIssue issue = new RemoteIssue();

            issue.project = project.key;

            RemoteVersion Iteration = new RemoteVersion();
            Iteration.id = ConfigurationManager.AppSettings["JiraIteration"];
            RemoteVersion[] arrayOfVersions = {Iteration};

            issue.affectsVersions = arrayOfVersions;

            List<RemoteIssueType> issueTypes =
                new List<RemoteIssueType>(jiraSoapService.getIssueTypesForProject(token, project.id));
            foreach (RemoteIssueType issueType in issueTypes)
            {
                if (issueType.name.Equals("Bug"))
                {
                    issue.type = issueType.id;
                }
            }
            return issue;
        }