Пример #1
0
 /// <summary>
 /// Returns a new issue that when saved will be created on the remote JIRA server.
 /// </summary>
 public Issue CreateIssue(CreateIssueFields fields)
 {
     return(new Issue(this, fields));
 }
Пример #2
0
 /// <summary>
 /// Create a new Issue.
 /// </summary>
 /// <param name="jira">Jira instance that owns this issue.</param>
 /// <param name="fields">Fields to be included in the payload when creating the issue.</param>
 public Issue(Jira jira, CreateIssueFields fields)
     : this(jira, new RemoteIssue() { project = fields.ProjectKey, timeTracking = fields.TimeTrackingData }, fields.ParentIssueKey)
 {
 }