This article explains how to add comments to a Bamboo plan in bulk using Bamboo Command Line Interface (CLI).
Instructions
Use addComment action to add a comment to the build plan.
These parameters are used in the below action:
--build value refers to build plan key.
--number value refers to the build number of the plan.
Execute this action to add a comment to the build plan. By default, the comment will be added to the latest build of the plan.
--action addComment --build "MKTES-TP" --comment "This is for testing componenet"
Execute this action to add a comment to a specific build plan. By using --number parameter, you can add the comment to a specific build plan.
--action addComment --build "MKTES-TP" --number "2" --comment "This is for testing component"
It is recommended to test these commands in a non-production environment before running in production.