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

Add resolved date to the issue's properties #14

Closed andreasciamanna closed 4 years ago

andreasciamanna commented 4 years ago

resolved is one of the basic properties of an Issue.

Added it to ReducedIssueImpl.

I don't know Typescript, sorry :(

I've tried to go through the rest of the code to find if I was missing something, but I couldn't find anything.

I'm pretty sure that just adding the property to the class, won't be enough.

andreasciamanna commented 4 years ago

Actually, I've just tried locally, by editing the file in /dist/entities/issue.js.

Just adding the property is enough to get the value in the Issue object.

shanehofstetter commented 4 years ago

@andreasciamanna Yes, you just need to add the property to the class :) all defined properties will be queried from the youtrack-api. Thanks for the PR!