Repository navigation
JAVA-7436 Rename Jira project key - #6597
Conversation
d16fca0 to
8ac6bb6
Compare
aurelien-coet-sonarsource
left a comment
There was a problem hiding this comment.
I think the old SONARJAVA Jira project key should also be updated in .github/workflows/CleanupIssues.yml and pom.xml, and we should probably delete mentions in CONTRIBUTING.md and README.md as the spaces are now private.
|
I'm wondering how the CleanupIssues was missed, it worked in every other repo :/ |
c44575a to
a1667ed
Compare
| **Single Jira ticket (mandatory):** the RSpec and the rule implementation share the **same** JAVA ticket. Do **not** create a second ticket, and do **not** put the Jira key in commits. | ||
|
|
||
| 1. Open the analyzer PR with title exactly: `SONARJAVA-XXXX Implement rule SXXXX - <rule title>`, reusing the RSpec ticket key as prefix (rule id and title from RSpec). | ||
| 1. Open the analyzer PR with title exactly: `JAVA-XXXX Implement rule SXXXX - <rule title>`, reusing the RSpec ticket key as prefix (rule id and title from RSpec). |
There was a problem hiding this comment.
ℹ️ Cross-PR: CONTRIBUTING.md would still prescribe the retired SONARJAVA PR prefix · #6598
Breaks when this PR and #6598 both merge to master and the SONARJAVA → JAVA key rename takes effect.
How
.agents/skills/new-rule/SKILL.md:66now requires PR titles to start withJAVA-XXXX, and this PR switches the workflowjira-projectsettings to JAVA.- #6598 adds a sentence at
CONTRIBUTING.md:30: 'Start the pull request title with the associatedSONARJAVA-XXXXissue key'. - Contributors who follow CONTRIBUTING.md would use the retired prefix, so the PR-created automation, which is configured for JAVA, would not link their PR to a ticket.
Fix
- This PR: nothing needed
- #6598: change the new CONTRIBUTING.md guidance to
JAVA-XXXX, and update its other SONARJAVA mentions too
Compared a1667ed with #6598 at b939552
Was this helpful? React with 👍 / 👎
Code Review 👍 Approved with suggestions 🟡 Medium risk 1 closed / 2 findingsChanging the Jira project key across release and issue-management workflows could misroute automated issue updates if the new key is incorrect. Renames the Jira project key from ℹ️ Cross-PR: CONTRIBUTING.md would still prescribe the retired SONARJAVA PR prefix · #6598📄 .agents/skills/new-rule/SKILL.md:64-66 Breaks when this PR and #6598 both merge to master and the SONARJAVA → JAVA key rename takes effect. How
Fix
Compared ✅ 1 closed✅ Quality: Old SONARJAVA Jira key still used in pom.xml, README and CONTRIBUTING
🤖 Prompt for agentsVerification Rules 3/3 met Knowledge ✅ 1 Repos 2 inspected · PRs 2 inspectedFunctional validation No results Rules 3 passed 2 not applicable
Knowledge ✅ 1 expectation metBroader impact Repos 2 inspected PRs 2 inspectedCross-repo 2 repositories inspected 0 open impacts
Cross-PR 2 PRs inspected 1 open impact
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 |
|
aurelien-coet-sonarsource
left a comment
There was a problem hiding this comment.
LGTM !





Summary by Gitar
SONARJAVAtoJAVAinPullRequestCreated.ymljira-project-keyfromSONARJAVAtoJAVAinautomated-release.ymljira-projectfromSONARJAVAtoJAVAinCleanupIssues.ymlissueManagementURL inpom.xmlfromSONARJAVAtoJAVASKILL.mdto useJAVAticket prefix instead ofSONARJAVA.vs/ignore rule in.gitignoreThis will update automatically on new commits.