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

Implement Administration API's #40

Open
maartenba opened this issue Jul 27, 2017 · 5 comments
Open

Implement Administration API's #40

maartenba opened this issue Jul 27, 2017 · 5 comments

Comments

@aschoelzhorn
Copy link
Contributor

@maartenba
Copy link
Contributor Author

Sweet! Thanks @aschoelzhorn

@maartenba
Copy link
Contributor Author

Thanks, logged #70 for that.

@nylchr
Copy link
Contributor

nylchr commented Dec 19, 2017

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?

@maartenba
Copy link
Contributor Author

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.

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

No branches or pull requests

3 participants