Skip to content

SCAN4NET-1879 Add Jira Automation cleanup - #3541

Merged
erwan-leforestier-sonarsource merged 1 commit into
masterfrom
Pavel/Automation
Nov 11, 2026
Merged

erwan-leforestier-sonarsource merged 1 commit into
masterfrom
Pavel/Automation

Conversation

@pavel-mikula-sonarsource

@pavel-mikula-sonarsource pavel-mikula-sonarsource commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

This adds CleanupIssues.yml that will clean up Jira issues created by automation, but not closed after the origin PR got closed - typically for bot PRs.

To review: Make sure the jira-project has the same value as PullRequestCreated.yml

@hashicorp-vault-sonar-prod hashicorp-vault-sonar-prod Bot changed the title Add Jira Automation cleanup SCAN4NET-1879 Add Jira Automation cleanup Nov 10, 2026
@hashicorp-vault-sonar-prod

hashicorp-vault-sonar-prod Bot commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

SCAN4NET-1879

@gitar-bot

gitar-bot Bot commented Nov 10, 2026 •

Copy link
Copy Markdown
Code Review ✅ Approved

🔴 High risk · The scheduled workflow invokes Jira cleanup with credentials, which could close or otherwise alter issues that should remain active.

Adds a CleanupIssues.yml GitHub workflow that closes Jira issues created by automation once their origin PR (typically a bot PR) has been closed without the issue being resolved. No issues found.

Verification Rules 3/3 met

Functional validation No results

Rules 3 passed

✅ Approved GitHub Actions runners
✅ Internal artifact registries
✅ Repository license compliance

Auto-approval Not enabled

Set up

For more verification details, comment gitar display:verbose.

Options

Auto-apply is off → Gitar will not commit updates to this branch.
Display: compact → Showing compact verification results.

Comment with these commands to change the behavior for this request:

Auto-apply Compact
gitar auto-apply:on         
gitar display:verbose         

Was this helpful? React with 👍 / 👎 | Gitar

@sonarqubecloud

Copy link
Copy Markdown

@erwan-leforestier-sonarsource
erwan-leforestier-sonarsource merged commit c8f7dca into master Nov 11, 2026
31 checks passed
@erwan-leforestier-sonarsource
erwan-leforestier-sonarsource deleted the Pavel/Automation branch November 11, 2026 08:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants