params object on the gate definition, falling back to the matching top-level product config block (jira, confluence, bitbucket, bamboo) when a param is not explicitly set.
jira-stories-exist
jira-stories-exist
Checks that at least one Jira issue exists for the configured
projectKey and fixVersion. The gate passes when the JQL search returns one or more issues. It warns (and is blocking at high severity) when zero stories are found.Parameters| Param | Source | Description |
|---|---|---|
projectKey | params.projectKey or jira.projectKey | Jira project key. |
fixVersion | params.fixVersion or jira.fixVersion | Target fix version string. |
readyStatuses from jira.readyStatuses is stored in the project config but the gate evaluates only issue count against the fixVersion JQL — it does not filter by status. Use this gate to confirm the release scope is non-empty.confluence-page-exists
confluence-page-exists
Checks that a Confluence page with the given title exists in the specified space. The gate warns when the page is not found.Parameters
To check a page in a different space from the default, override with
| Param | Source | Description |
|---|---|---|
spaceKey | params.spaceKey or confluence.requiredPages[0].spaceKey | Confluence space key. |
title | params.title or confluence.requiredPages[0].title | Exact page title. |
params:confluence-page-sections
confluence-page-sections
Checks that a Confluence page contains all required section headings. The gate fetches the page body and performs a case-insensitive substring match for each entry in
requiredSections.Parameters| Param | Source | Description |
|---|---|---|
spaceKey | params.spaceKey or confluence.requiredPages[0].spaceKey | Confluence space key. |
title | params.title or confluence.requiredPages[0].title | Exact page title. |
requiredSections | params.requiredSections (required) | Array of strings that must appear in the page body. |
requiredSections is a required parameter — the gate will warn and report a configuration error if it is omitted or empty.confluence-page-freshness
confluence-page-freshness
Checks that a Confluence page was updated within a maximum number of days. Uses the page’s
version.when timestamp. The gate warns when the page age exceeds maxAgeDays.Parameters| Param | Source | Description |
|---|---|---|
spaceKey | params.spaceKey or confluence.requiredPages[0].spaceKey | Confluence space key. |
title | params.title or confluence.requiredPages[0].title | Exact page title. |
maxAgeDays | params.maxAgeDays | Maximum allowed page age in days. Defaults to 14. |
bitbucket-release-branch-exists
bitbucket-release-branch-exists
Checks that the configured release branch exists in the Bitbucket repository. The gate warns when the branch is not found.Parameters
To override the branch name for a specific gate:
| Param | Source | Description |
|---|---|---|
projectKey | params.projectKey or bitbucket.projectKey | Bitbucket project key. |
repo | params.repo or bitbucket.repo | Repository slug. |
releaseBranch | params.releaseBranch or bitbucket.releaseBranch | Branch name to look for. |
bitbucket-pr-checks
bitbucket-pr-checks
Checks that the number of open pull requests targeting the release branch is within the allowed threshold. The gate warns when the open PR count exceeds
maxOpenToRelease.Parameters| Param | Source | Description |
|---|---|---|
projectKey | params.projectKey or bitbucket.projectKey | Bitbucket project key. |
repo | params.repo or bitbucket.repo | Repository slug. |
releaseBranch | params.releaseBranch or bitbucket.releaseBranch | Target branch to count open PRs against. |
maxOpenToRelease | params.maxOpenToRelease | Maximum allowed open PRs to the release branch. Defaults to 0. |
Setting
maxOpenToRelease: 0 means the gate warns when any PR is still open to the release branch. Increase this value if your release process allows merging in-flight PRs after the cut.bamboo-plan-active
bamboo-plan-active
Checks that the specified Bamboo plan is active and enabled. The gate warns when the plan is disabled or inactive.Parameters
To check a specific plan key that differs from the project default:
| Param | Source | Description |
|---|---|---|
plan | params.plan or bamboo.requiredPlans[0] | Bamboo plan key (e.g. MYPROJ-PLAN). |
bamboo-latest-build-success
bamboo-latest-build-success
Checks that the latest build result for the specified Bamboo plan has a
SUCCESS state. The gate warns when the latest build is missing or in any other state (e.g. FAILED, IN_PROGRESS).Parameters| Param | Source | Description |
|---|---|---|
plan | params.plan or bamboo.requiredPlans[0] | Bamboo plan key. |
checkmarx-scan-threshold
checkmarx-scan-threshold
Reads a local Checkmarx scan report (JSON) and checks that the vulnerability counts for high, medium, and low severity findings are within the configured thresholds. The gate warns when any count exceeds its threshold.cops supports several common Checkmarx report formats. It tries direct field extraction from the top-level object,
summary, and statistics.severity sub-objects before falling back to walking all nodes and counting severity fields.Parameters| Param | Source | Description |
|---|---|---|
reportPath | params.reportPath (required) | File path to the Checkmarx JSON report. |
maxHigh | params.maxHigh | Maximum allowed high-severity findings. Defaults to 0. |
maxMedium | params.maxMedium | Maximum allowed medium-severity findings. Defaults to 0. |
maxLow | params.maxLow | Maximum allowed low-severity findings. Defaults to unlimited. |
deployment-freeze-window
deployment-freeze-window
Checks whether the current time falls inside a configured deployment freeze window. The gate warns when the current timestamp is within any active freeze window, making it blocking when
Single window:Multiple windows:
severity is high.Supports a single window via params.start + params.end, or multiple windows via params.windows[].Parameters| Param | Source | Description |
|---|---|---|
start | params.start | ISO 8601 datetime for a single freeze window start. |
end | params.end | ISO 8601 datetime for a single freeze window end. |
windows | params.windows | Array of { start, end } objects for multiple freeze windows. |
At least one window must be configured. The gate fails at configuration validation time if neither
params.start+params.end nor a non-empty params.windows[] is provided.bamboo-multi-env-promotion
bamboo-multi-env-promotion
Checks that the latest deployment result for each specified Bamboo environment is in the required state, and that the promotions occurred in the order the environment IDs are listed (earlier IDs must have an earlier
The gate warns when:
finishedDate than later ones).This gate is used to verify that an artifact has been promoted through a defined sequence of environments (e.g. dev → staging → prod) before releasing.Parameters| Param | Source | Description |
|---|---|---|
envIds | params.envIds (required) | Array of Bamboo deployment environment IDs in promotion order. Minimum 2. |
requiredState | params.requiredState | Required deployment state string. Defaults to SUCCESS. Case-insensitive. |
- Any environment has no deployment results.
- Any environment’s latest result is not in
requiredState. - The
finishedDatetimestamps are not in ascending order (promotion order violated).
envIds must contain at least 2 environment IDs. The gate fails at configuration validation time with fewer than 2 IDs.