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.
- Find the value of the requirement parameter here.
- Traverse to the Agents and click on Key (custom.com).
- Refer to the URL to get the value of the capabilityKey.
- Traverse to the Agents and click on Key (custom.com).
Run the following CLI action:
--action addRequirement --plan "TR-TES" --job "JOB4" --requirement "custom.com"
The query results in the following output:
--action addRequirement --plan "TR-TES" --job "JOB4" --requirement "custom.com"
- If the CLI client version is older than 9.0, update the Jira instance details in bamboo cli file.