I am wanting to pull projects from Bitbucket datacenter using the Rest API and would like pull by alphabetical character like all projects that start with an A
Hi Richard
With the project picker endpoint you can searh for projects starting with a certain letter.
Documentation
Example:
https://jira.atlassian.com/rest/api/2/projects/picker?query=b
I hope this helps!
Thank you Charlie, I will give it a whirl.
Hi Richard?
Did it work for you?
Please mark the answer as accepted to close this question if it has been resolved :-)
Hey Charlie. That endpoint was for Jira unfortunately and not Bitbucket so it did not work.
Oh I'm so sorry. I have no idea why I thought it was about Jira.Probably because I answered a Jira question just before :-)
Anyway: there is no way to filter for Bitbucket projects starting with a certain letter via the API.
There is an endpoint to list all projects: https://developer.atlassian.com/server/bitbucket/rest/v902/api-group-project/#api-api-latest-projects-get
It returns an alphabetical list but you need to perform your own filtering to get the projects starting with an A only.
It looks like you're new here. Sign in or register to get started.