Пример #1
0
        /// <summary>
        /// The constructor will take a project key, fetch all of the tasks
        /// associated with said project, and aggregate them inside of a C#
        /// model.
        /// </summary>
        /// <param name="projectKey">The Jira project key for which to fetch data.</param>
        public TasksFactory(string projectKey) : base()
        {
            Fields  = new FieldFactory(Jira);
            Sprints = new Dictionary <string, SprintModel>();
            Tasks   = new List <TaskModel>();

            //Fetch the data from the Jira API
            fetchTasks(projectKey);
        }
Пример #2
0
        public TasksFactory(string projectKey)
            : base()
        {
            Fields = new FieldFactory(Jira);
            Sprints = new Dictionary<string, SprintModel>();
            Tasks = new List<TaskModel>();

            //Fetch the data from the Jira API
            fetchTasks(projectKey);
        }