Open maartenba opened 7 years ago
I'm implementing the API for https://www.jetbrains.com/help/youtrack/standalone/Project-Custom-Fields.html
Sweet! Thanks @aschoelzhorn
Thanks, logged #70 for that.
I'm tempted to start with https://www.jetbrains.com/help/youtrack/standalone/Project.html but it raises the question about class definitions. There's already a Project class, derived from https://www.jetbrains.com/help/youtrack/standalone/Get-Accessible-Projects.html, with a vastly different definition than the two different versions that https://www.jetbrains.com/help/youtrack/standalone/Project.html offers. There's also a Project class in the Agile Boards namespace with the same signature as one of the new ones. I propose an inheritance hierarchy with Project (containing only the id) as base.
Actually, it would be even better if all API calls returning a project returned the definition found at https://www.jetbrains.com/help/youtrack/standalone/GET-Project.html
{ "name": "Test Project", "id": "TP", "description": null, "archived": false, "lead": "login.name", "startingNumber": null }
Any suggestions on how to proceed?
There can be a new Project
class in the new (to be created) namespace for this? I'd say best to stick close to the API's, so having a specialized Project
for each scenario seems feasible. Okay with inheritance regarding having a project id across all.
See the following URL's for documentation:
Perhaps good to split the work for this in separate issues and PR's.