RestAPI

I have an ansible script that creates a project for the default project group ‘spaces-42’, but after the creation, I can only see it using the api/projects/all. using api/spaces-42/projects does not show it in the returned schema. Note: it is created with the ‘spaces-42’ assigned. If I use the octopus cli, I see that it is in Spaces-42. This seems very odd to me and my scripts are breaking for certain pipeline projects, while not for others using the rest api. Thoughts?

Hi Jason,

Thanks for getting in touch! That certainly doesn’t sound like the correct behavior, so we’d like to dig into this in a bit more detail. Would you be willing to send through a few additional pieces of information?

  • The Ansible script creating the project
  • Which version of the client is the script using? Maybe this version was released prior to the Spaces feature being shipped?
  • Octopus server version
  • Server logs (located in C:\Octopus\Logs in standard installs)

Feel free to mark this thread as private or email us at support@octopus.com if including sensitive information. :slight_smile:

I look forward to hearing back and getting to the bottom of this one!

Best regards,

Kenny