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
Posted Tuesday in Jira

Looking for anyone who made the switch to Data Center

The Jira Marketing team is putting together an ebook on migrating to Data Center. We're looking for pro tips on how you staffed your project team and organized your Proof of Concept. Share yo...

34 views 0 2
Join discussion

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