You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Hello!
I would like to know the list of repositories in a workspace that have the "Pipeline" option enabled.
thanks!
Ennio
Hi Ennio,
This is possible from our website if you check the repositories' settings one by one. If you have a large number of repos in that workspace, you can get this info via API. First, you can use this API endpoint to get all repositories in the workspace:
Then, for each repository, you can use the following API endpoint:
If Pipelines are enabled for a repository, you will see in the response the field "enabled": true.
If Pipelines were previously enabled for a repo, but are now disabled, you will see in the response the field "enabled": false.
If Pipelines were never enabled in the past for a specific repo, you will get a response like the following:
{
"error": {
"message": "Not found",
"detail": "Repository {REPO_UUID} does not exist for account {WORKSPACE_UUID}.",
"data": {
"key": "account-service.repository.not-found",
"arguments": {
"uuid": "{REPO_UUID}"
}
}
}
}
where REPO_UUID is the UUID of the repository you are running the API call for, and WORKSPACE_UUID is the UUID of the workspace this repo belongs to.
This is a bug and we have a bug report to fix the response in order to indicate that Pipelines is disabled: https://jira.atlassian.com/browse/BCLOUD-22241.
Kind regards,
Theodora
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You are very welcome, Ennio. Please feel free to reach out if you ever need anything else!
Kind regards,
Theodora
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.