c# nuget api issue request not working

Christophe De Mey
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!
February 11, 2019

Hi

I am trying to get all work items for a specific project with a specific status.

This one fails :

var o = jira.Issues.Queryable.Where(row =>
row.Project == "INFR" && row.Status.Name == "Ready For Development").ToList();

Error :
InvalidOperationException: Response Status Code: 400. Response Content: {"errorMessages":["Field 'Name' does not exist or you do not have permission to view it."],"warningMessages":[]}

When i check fiddler i can see the mapping in the request is wrong.
jql=Project = "INFR" && Name = "Ready For Development"

I am full administrator on the system, so rights is not an issue.
Calling this works fine :
var o = jira.Issues.Queryable.Where(row =>
row.Project == "INFR").ToList();

Can you please help me.

Thanks

0 answers

Suggest an answer

Log in or Sign up to answer