Repository navigation
SCANDOCKER-104 Automatically set Jira fix version when a pull request is merged - #339
Conversation
… is merged Set the Jira "Fix versions" field to the lowest unreleased version of the SCANDOCKER project when a pull request whose title starts with "SCANDOCKER-" is merged into the default branch and the field is empty. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Code Review ✅ Approved🟡 Medium risk · Adding conditional Jira fix-version automation could assign the wrong unreleased version to matching project tickets when a PR closes. Configures the PullRequestClosed Jira action with Verification Rules 3/3 met Repos 1 inspected · PRs 1 inspectedFunctional validation No results Rules 3 passed
Broader impact Repos 1 inspected PRs 1 inspectedCross-repo 1 repository inspected 0 open impacts
Cross-PR 1 PR inspected 0 open impacts
Auto-approval Not enabledFor more verification details, comment OptionsAuto-apply is off → Gitar will not commit updates to this branch. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Gitar |
|





SCANDOCKER-104
Configure
sonarsource/gh-action-lt-backlog/PullRequestClosedwithfix-version: autodetect-lowest, the same mechanism as SonarJS, so the Jira "Fix versions" field is set to the lowest unreleased version of the project when it is empty.The value is only provided when:
SCANDOCKER-, so tickets from other Jira projects are left untouchedgithub.event.repository.default_branch)Otherwise the input is empty and the action does not change the fix version.
🤖 Generated with Claude Code