Pregunta

I'm new to VersionOne usage. I have downloaded the dll's of VersionOne API client and 'am trying to use to get following agile metrics. I'm trying to write a sample .Net application which should be able to pull data from the hosted version one site. I have read few blogs and came to know that VersionOne supports cross language API integration. But, currently I'm stuck in getting the following details to start with.

Can anyone please help me in this regard.

  • How to get the list of projects under "Programs" using V1Instance class?
  • How to get the list of all stories?
  • How to get data to create burn charts?

Consider the VersionOne is hosted in this website: https://v1.com/v1/..

Also can you please suggest any website where I can get enough information for using versionone api's to retrive data.

Thanks in advance!!!

¿Fue útil?

Solución

The critical piece of information is that ScopeLabel is what you see as Program in the VersionOne UI. Without that knowledge, you'll search all over the developer docs and source code and you won't find what you need.

Armed with that, you would discover that ScopeLabel is not in the SDK.NET Object Model. Moreover, for the uses you are describing (like getting data for a burndown chart), you should not use the Object Model. It was designed for fine-grained access like reading and writing individual Stories. Due to the Fallacies of Distributed Computing, it performs very poorly for course-grained reporting needs.

A better starting point is the documentation on API Query for Burndown Data. You can also find some sample source code in the VersionOne OAuth2 Sample Clients on GitHub, specifically see the CSharp YamlClient. By no means is it a finished application, but it will be a much better starting point.

Otros consejos

Try having a look through the code in here. For example a quick search turned up using the Projects property on V1Instance to get projects, the projects.GetStories method on Project to get the list of stories.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top