How to find all builds that poll the repository
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Summary
Repository polling is set per build. Here is how to find all builds that poll the repository.
Environment
Bamboo 7 and 8
Solution
To find all of the builds with polling, here is the SQL:
1
2
3
4
5
6
7
8
9
SELECT build_definition_id,
buildkey,
title,
full_key
FROM build_definition bd
JOIN build b
ON bd.build_id = b.build_id
WHERE bd.xml_definition_data LIKE
'%com.atlassian.bamboo.triggers.atlassian-bamboo-triggers:poll%';
Each build will need to be visited to migrate away from polling. To do this take full_key and put it in this url to go right to the build.
1
<BASEURL>/browse/<full_key>
Or use Modifying multiple plans in bulk to change to Manual.
Was this helpful?