From c717c2ac3170a17cdfd24e7ca90bb66587a35614 Mon Sep 17 00:00:00 2001 From: Jeremiah Redekop Date: Mon, 1 Oct 2018 11:10:38 -0700 Subject: [PATCH] including jsonproperty for current state It seems that without this attribute, the current state value is not being deserialized correctly from the reponse that pivotal gives. --- PivotalTrackerDotNet/Domain/Story.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/PivotalTrackerDotNet/Domain/Story.cs b/PivotalTrackerDotNet/Domain/Story.cs index 57e8bcd..51be7f4 100644 --- a/PivotalTrackerDotNet/Domain/Story.cs +++ b/PivotalTrackerDotNet/Domain/Story.cs @@ -56,6 +56,7 @@ public Story() [JsonProperty(PropertyName = "story_type")] public StoryType StoryType { get; set; } + [JsonProperty(PropertyName = "current_state")] public StoryStatus CurrentState { get; set; } public int? Estimate { get; set; } public DateTimeOffset? AcceptedAt { get; set; }