Forums

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

Cannot filter results from API on Issues . GetIssuesFromJqlAsync

grantbyrne
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!
December 9, 2019

I'm trying to use the c# nuget package to query data from Jira.

I'm using the following code to pull back my list of current issues:

{code}

var jira = Jira.CreateRestClient("http://url2jira/", "username", "password");
var issues = await jira.Issues.GetIssuesFromJqlAsync("assignee = currentUser() AND resolution = Unresolved order by updated DESC", 10, 0);
issues.Dump();

{code}

It is return issues, but it's like it's not filtering at all. I'm getting resolved issues from other users. It's also returning 50 items rather than the requested 10.

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events