I am getting an Object reference error using jira.Issues.GetIssuesFromJqlAsync(filter.JQL, 1000). This was working Wednesday morning (2-19-2020, 9:53AM PST) and stopped working later in the day. We are using Atlassian SDK v10.6.0. The error also occurs with V.12.0.0
at Atlassian.Jira.Remote.SingleObjectCustomFieldValueSerializer.FromJson(JToken json)
at Atlassian.Jira.Remote.RemoteIssueJsonConverter.<GetCustomFieldValuesFromObject>b__9_1(JProperty field)
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at System.Linq.Enumerable.Any[TSource](IEnumerable`1 source)
at Atlassian.Jira.Remote.RemoteIssueJsonConverter.ReadJson(JsonReader reader, Type objectType, Object existingValue, JsonSerializer serializer)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.DeserializeConvertable(JsonConverter converter, JsonReader reader, Type objectType, Object existingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
at Atlassian.Jira.Remote.IssueService.<>c__DisplayClass20_0.<GetIssuesFromJqlAsync>b__2(JObject issueJson)
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at System.Linq.SystemCore_EnumerableDebugView`1.get_Items()
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Also, the data that does come back is incomplete. For example, issues come with Assignee NULL
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Switching to Atlassian.SDK v12.1.0-beta01 fixed this exact issue for me.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Odd as that did not fix the problem for me.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hmm - I'm not going to dig a lot further as my issue is solved, but this looked related and is why I decided to try the new version:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.