Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This article explains how to add comments for to a Bamboo plan in bulk using with the Bamboo Command Line Interface (CLI) app.

Instructions

UseaddComment addComment action to add a comment to the build plan. 
The parameter 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 Execute the following command to add a comment to the build plan. By default, the comment will be added to the latest build of the plan.:

    Code Block
    themeMidnight
    --action addComment --build "MKTES-TP" --comment "This is for testing componenet"
    Image Removed
    Execute this action to add a comment to the specific build plan. Using --number parameter you can add the comment to the specific build plan.


    By default, the comment is added to the latest build of the plan.
    Image Added
  • Execute the addComment action with the --number parameter to add a comment to a specific build plan as follows:

    Code Block
    themeMidnight
    --action addComment --build "MKTES-TP" --number "2" --comment "This is for testing componenetcomponent"

    Image RemovedImage Added

The following parameters are used in the above commands:

  • --build value refers to build plan key.
  • --number value refers to the build number of the plan.
Info

It is recommended to test the commands in a non-production environment before running in the productionor, run the action with --simulate parameter to verify the behavior before deploying.