Пример #1
0
        private Epic(string key, string summary)
        {
            Key = key;

            Fields = new IssueFields()
            {
                Assignee = User.UndefinedUser,
                Reporter = User.UndefinedUser,
                Summary  = "",
                Created  = DateTime.MinValue,
                Updated  = DateTime.MinValue,
                Status   = new Status()
                {
                    ID = "0", Name = "Open"
                },
                TimeTracking = new TimeTracking()
                {
                    Issue = this,
                    OriginalEstimateSeconds  = 0,
                    RemainingEstimateSeconds = 0
                }
            };

            Reporter = User.UndefinedUser;
            Assignee = User.UndefinedUser;

            Issues             = new List <Issue>();
            EstimateInSeconds  = 0;
            TimeSpentInSeconds = 0;
        }
Пример #2
0
 //The private constructor for undefined epics
 private Epic(string key, IssueFields fields, Jira jira)
 {
     base.Key    = key;
     base.Fields = fields;
     base.SetJira(jira);
 }