the method only returns the releases currently on the dashboard and their rollbacks.
Is there a way to get it to return all of the releases currently visible in the “Releases” tab of the project as ReleaseProgressionResources rather than ReleaseResources by using the “GetAllReleases” method.
Thank you for contacting Octopus support. Let’s try to solve this.
If you don’t mind, let’s attempt to get what we need via REST API. If it gives us what we need, we can try the same in Octopus.Client.
We have two ways to get the project’s progression.
I tested in my sandbox, and it did return all releases that I have for the project. Can you check it on your project if it gives the data you are looking for?
To clarify - the issue is that repositoryForSpace.Projects.GetProgression returns only a subset of releases and not the complete list. Is that correct?
It seems we have a different output from Release’s GetProgression in Octopus.Client and in REST API. Developers try to keep APIs close, but that is not always possible. Unfortunately, in this particular case, there is no way to get the Octopus.Client.Model.ProgressionResource from the Release.
We can suggest requesting the change on https://octopusdeploy.uservoice.com.
Al alternative way to obtain ReleaseProgression for each release would be to use the REST API. If you decide to go this route, it can be accessed here: /api/Spaces-{id}/projects/Projects-{id}/progression