Exemplo n.º 1
0
 public IssuesSettings()
 {
     Sample = new JiraIssuePrintPreviewModel
     {
         CategoryColor = Colors.LightCoral,
         Issue         = new JiraIssue
         {
             Key           = "PRJ-1234",
             EpicLink      = "PRJ-4321",
             Summary       = "Lorem ipsum dolor sit amet, consectetur adipiscing elit.",
             Project       = "ProjecT",
             Assignee      = "John Smith",
             Created       = new DateTime(2016, 2, 1),
             Priority      = "Major",
             Description   = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.",
             Status        = "Open",
             Reporter      = "Louis Kovalsky",
             Resolved      = new DateTime(2016, 3, 1),
             Subtasks      = 3,
             SprintIds     = new[] { 1, 2, 3 },
             StoryPoints   = 5,
             BuiltInFields = new RawFields
             {
                 IssueType = new RawIssueType {
                     Name = "User Story"
                 },
                 Resolution = new RawResolution {
                     Name = "Fixed"
                 },
                 DueDate = new DateTime(2016, 2, 20),
                 Labels  = new[] { "dev", "prod", "test" },
             }
         }
     };
 }
Exemplo n.º 2
0
        private void SetCardColor(JiraIssuePrintPreviewModel printPreview)
        {
            var dialog = new ColorDialog(printPreview.CategoryColor);

            if (dialog.ShowDialog() == false)
            {
                return;
            }

            printPreview.CategoryColor = dialog.EditedColor;
        }
Exemplo n.º 3
0
      private void SetCardColor(JiraIssuePrintPreviewModel printPreview)
      {
         var dialog = new ColorDialog(printPreview.CategoryColor);

         if (dialog.ShowDialog() == false)
            return;

         printPreview.CategoryColor = dialog.EditedColor;
      }
Exemplo n.º 4
0
 public IssuesSettings()
 {
     Sample = new JiraIssuePrintPreviewModel
     {
         CategoryColor = Colors.LightCoral,
         Issue = new JiraIssue
         {
             Key = "PRJ-1234",
             EpicLink = "PRJ-4321",
             Summary = "Lorem ipsum dolor sit amet, consectetur adipiscing elit.",
             Project = "ProjecT",
             Assignee = "John Smith",
             Created = new DateTime(2016, 2, 1),
             Priority = "Major",
             Description = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.",
             Status = "Open",
             Reporter = "Louis Kovalsky",
             Resolved = new DateTime(2016, 3, 1),
             Subtasks = 3,
             SprintIds = new[] { 1, 2, 3 },
             StoryPoints = 5,
             BuiltInFields = new RawFields
             {
                 IssueType = new RawIssueType { Name = "User Story" },
                 Resolution = new RawResolution { Name = "Fixed" },
                 DueDate = new DateTime(2016, 2, 20),
                 Labels = new[] { "dev", "prod", "test" },
             }
         }
     };
 }