shanehofstetter / youtrack-rest-client

youtrack REST API client written in typescript
https://www.npmjs.com/package/youtrack-rest-client
MIT License
38 stars 21 forks source link

Custom fields are not included anymore as part of the objec #19

Open andreasciamanna opened 3 years ago

andreasciamanna commented 3 years ago

I was trying to finally check #18, but I encountered a new issue.

As far as I can see, the request contains fields(id,projectCustomField(canBeEmpty,emptyFieldT... and if I run the same request I do get a "fields" property with everything I need.

However, this package (at least when using youtrack.issues.search(project: ${shortName}) seems to return only the following properties:

image

Mind that I'm using youtrack.issues.search because this endpoint is not supported by this package.

youtrack.issues.byId works just fine, but I can't use it because I need to retrieve all the issues of a search query.

And I can't call youtrack.issues.byId for every result of youtrack.issues.search(project: ${shortName}) because that would be insane.

mmakarin commented 3 years ago

idReadable is also missing