JetBrains / YouTrackSharp

.NET Standard 2.0 Library to access YouTrack API.
https://www.jetbrains.com/youtrack
Apache License 2.0
134 stars 105 forks source link

Agile #103

Open zelodyc opened 3 years ago

zelodyc commented 3 years ago

If you still accept pull requests, I would like to submit some work on issue #81 (update to new agile board API).

This includes an updated model for the new Agile board API, and a service to retrieve Agile boards, with an option for verbosity of the retrieved data (using the API described at https://www.jetbrains.com/help/youtrack/standalone/resource-api-agiles.html#get_all-Agile-method). For now it's limited to that, but the infrastructure is in place to add more.

I added some attributes (namely KnownTypeAttributeand VerboseAttribute) to help with:

Please let me know if that approach is acceptable.

If possible, I would like to add more to that shortly (get agile board by ID, filters, and also some additional services to work with sprints).

Thanks for your time and consideration

lukeskinner commented 1 year ago

@zelodyc I'm not related to this project but I wanted to say thanks for the effort you put into this PR!

For anyone who wants to use Agile Boards/Sprints without waiting on JetBrains you can take the changes in the source branch (it's new files only) and copy them into your application - I didn't change the namespaces but it means you can use this new functionality until this PR is merged.