Beispiel #1
0
 /// <summary>
 /// Creates a new GitHub issue.
 /// </summary>
 /// <param name="repositoryUrl">Repository URL where to create the issue.</param>
 /// <param name="issueTitle">Title of the issue.</param>
 /// <param name="issueDescription">Description of the issue.</param>
 /// <returns></returns>
 public async Task <int> CreateNewIssueAsync(
     string repositoryUrl,
     string issueTitle,
     string issueDescription)
 {
     return(await RepositoryHelper.CreateNewIssueAsync(
                repositoryUrl,
                issueTitle,
                issueDescription,
                GitHubPersonalAccessToken));
 }
Beispiel #2
0
 /// <summary>
 /// Creates a new GitHub issue.
 /// </summary>
 /// <param name="repositoryUrl">Repository URL where to create the issue.</param>
 /// <param name="issueTitle">Title of the issue.</param>
 /// <param name="issueDescription">Description of the issue.</param>
 /// <returns></returns>
 public async Task <int> CreateNewIssueAsync(
     string repositoryUrl,
     string issueTitle,
     string issueDescription,
     int?milestone = null,
     IEnumerable <string> labels    = null,
     IEnumerable <string> assignees = null)
 {
     return(await RepositoryHelper.CreateNewIssueAsync(
                repositoryUrl,
                issueTitle,
                issueDescription,
                GitHubPersonalAccessToken,
                milestone,
                labels,
                assignees));
 }