private void LoadSetting()
        {
            var project = JiraProjectsStoreUtil.ReadProjects();

            if (project != null)
            {
                SelectedProjects          = project.JiraProjects;
                CurrentAssignProject      = project.CurrentAssignProject;
                IsCreateJiraCaseAfterSent = project.CreateJiraCaseAfterSent;
                CurrentSelectedIssueType  = project.CurrentIssueType;
                BaseJiraUrl = project.BaseJiraUrl;
                ProjectIssueRequiredFieldsMaps = project.ProjectIssueRequiredFieldsMaps;
            }
            if (ProjectIssueRequiredFieldsMaps == null)
            {
                ProjectIssueRequiredFieldsMaps = new ProjectIssueRequiredFieldsMapCollection();
            }
            if (String.IsNullOrWhiteSpace(BaseJiraUrl))
            {
                BaseJiraUrl = JIRA_BASE_URL_NEWEGG;
            }
            if (JiraOperator != null)
            {
                JiraOperator.BaseJiraUrl = BaseJiraUrl;
            }
        }
        public bool OnGetSendWithCreateJiraCasePressed(Office.IRibbonControl control)
        {
            var proj = JiraProjectsStoreUtil.ReadProjects();

            if (proj != null)
            {
                return(proj.CreateJiraCaseAfterSent);
            }
            return(false);
        }