jira-client icon indicating copy to clipboard operation
jira-client copied to clipboard

JQL expand not working

Open Sneijky opened this issue 7 years ago • 1 comments

Hello,

When using postman I can use the following request : /search?jql=project=myProject&expand=changelog. This returns me all issues of the project with the changelog.

But when using the jira-client using with : .searchIssues("project=myProject&expand=changelog"), it returns an exception. Any fix for this?

Sneijky avatar Apr 30 '18 13:04 Sneijky

searchIssues has overloaded implementation, which accepts expandFields (the third argument):

jira.searchIssues("project=myProject", null, "changelog.fields");

tess1o avatar Jul 30 '18 15:07 tess1o