Not all CustomFields related to my Issues are downloaded using Atlassian.Jira SDK .NET Edited

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;

}

 

1 answer

_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.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

968 views 3 9
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you