コード例 #1
0
        private IIssueItem ToIssueItem(Issue item)
        {
            DateTime?reopenedOn     = item.CustomFields.ToDateTimeNullable(Config.ReopenedFieldName);
            string   nomeGruppoLife = item.CustomFields.ToValueString(Config.NomeGruppoLifeFieldName);
            bool?    digitalAgency  = item.CustomFields.ToBooleanNullable(Config.DigitalAgencyFieldName);

            return(Factory.GetNewIssueItem(item.Key,
                                           item.IssueType == null ? string.Empty : item.IssueType.Name,
                                           item.Assignee == null ? string.Empty : item.Assignee.ToString(),
                                           item.Priority == null ? string.Empty : item.Priority.Name,
                                           item.Project.Name,
                                           item.Summary, item.Status.Name, item.CreatedDate.Value, item.ResolutionDate,
                                           reopenedOn, nomeGruppoLife, digitalAgency));
        }