Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Jira via C# REST Client throws exception

eugenio161288
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 5, 2018

I'm using Atlassian.SDK 10.2.1 via NuGet.

The following code throws an exception:

 

var jira = Jira.CreateRestClient("my_jira_url", "my_user", "my_password");
var issues = jira.Issues.Queryable.Where(i => i.Project != "");

// exception here

Console.WriteLine(issues.Count());

 

Exception:

 

Custom field with id 'customfield_10020' found on issue does not exist on the list of known custom fields returned by Jira.

 

Can someone help me?

1 answer

0 votes
Gonchik Tsymzhitov
Community Champion
September 23, 2018

Hi! 

 

Please, review this customfield_10020. Could you check after reindex ?

 

Cheers,

Gonchik Tsymzhitov

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events