Hi there!
I am using the Atlassian.Jira SDK with .NET and have the code below.
However, not all the custom fields associated with my Jira issues appears in the CustomFields collection?
Is there something I need to configure in Jira for each particular Custom Field, so they will come through?
_jira = Jira.CreateRestClient([Jira URL], txtUser.Text, txtPass.Text);
...
var result = (await _jira.Issues.GetIssuesFromJqlAsync("project = \"blah blah\" AND fixVersion = " + version, 100)).ToList();
foreach (var r in result)
{
var customFields = r.CustomFields;
}
_jira = Jira.CreateRestClient([Jira URL], txtUser.Text, txtPass.Text);
...
var resultAwaiter = (await _jira.Fields.GetCustomFieldsAsync();
resultAwaiter.Wait();
var result = resultAwaiter.Result;
foreach (var r in result)
{
var customFields = r;
}
I tried the above code and got all the custom fields.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.