Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
andreasciamanna opened this issue Mar 26, 2021 · 1 comment
Open

Comments

@andreasciamanna
Copy link
Contributor

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
Copy link

idReadable is also missing

andreasciamanna added a commit to andreasciamanna/youtrack-rest-client that referenced this issue May 18, 2024
- Added `searchIssues` method to `IssueEndpoint` to query issues with pagination options.
- Custom fields are included included as part of the object.
- Updated tests to cover the new `searchIssues` method.

Fixes shanehofstetter#19.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants