Versions Compared

Key

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

This article explains how to add requirement using addRequirement action using the Bamboo CLI app. 

Instructions

Use the addRequirement action with plan, job and requirement parameters to get the requirement added in your test plan. Ensure that the CLI client file is updated with the relevant credentials.

  1. Find the value of the requirement parameter here.
    Traverse as shown below: 
    1. Under Bamboo administration, navigate to the Agents section and then click on Key (custom.com) under the heading, Shared capabilities.
    2. Refer to the URL to and get the value of the capabilityKey which is the value of the requirement parameter.
  2. Run Now, run the following CLI action:

    Code Block
    themeMidnight
    --action addRequirement --plan "TR-TES" --job "JOB4" --requirement "custom.com"


  3. The query results in the following output:

    Code Block
    themeMidnight
    --actionRequirement addRequirementadded --plan "TR-TES" --job "JOB4" --requirement "custom.com"with id 1245185.

    Here is the screenshot of the User Interface view.


       
Info
  • If the CLI client version is older than 9.0, update the Jira Bamboo instance details in bamboo cli file.

...