Esempio n. 1
0
 public Issue GetIssue(string issueKey)
 {
     return(Requests.GetJson <Issue>(string.Format("https://teamvelocitymarketing.atlassian.net/rest/api/2/issue/{0}", issueKey),
                                     credentials: new NetworkCredential(_username, _password)));
 }
Esempio n. 2
0
 /// <summary>
 /// The get work log.
 /// </summary>
 /// <param name="issueKey">
 /// The issue key.
 /// </param>
 /// <returns>
 /// The <see cref="JiraWorkLog"/>.
 /// </returns>
 public JiraWorkLog GetWorkLog(string issueKey)
 {
     //"https://teamvelocitymarketing.atlassian.net/rest/api/2/issue/{0}/worklog"
     return(Requests.GetJson <JiraWorkLog>(string.Format(_url, issueKey),
                                           credentials: new NetworkCredential(this._username, this._password)));
 }