Hello,
I am using Atlassian.SDK version 13.0 in .net. During an issue creation in an automation job, I needed to update some custom fields:
var issue = jira.CreateIssue(fields);
issue.Type = "Risk";
ComparableString comp = new ComparableString("Test");
issue["Risk Source"] = comp;
......./Doing other stuff/....
var createdIssue = await issue.SaveChangesAsync();
with above code, I get the error below
Response Status Code: 400. Response Content: {"errorMessages":[],"errors":{"customfield_XXX":"data was not an array"}}
But when I look the issue object details, in Customfields of the issue, I can see a string array created with my provided string in it.
Can you guide me what am I doing wrong or is there a bug in the SDK?
Best regards