Skip to content
This repository was archived by the owner on Jan 5, 2026. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ protected String generateIssueDescription(Issue sonarIssue, Settings settings) {
description.append(QUOTE);
description.append("\n\nCheck it on SonarQube: ");
description.append(settings.getString(CoreProperties.SERVER_BASE_URL));
description.append("/issue/show/");
description.append("/issues/show/");
description.append(sonarIssue.key());
return description.toString();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ public void shouldInitRemoteIssue() throws Exception {
expectedIssue.setPriority("4");
expectedIssue.setSummary("SonarQube Issue #ABCD - Avoid cycle between java packages");
expectedIssue.setDescription("Issue detail:\n{quote}\nThe Cyclomatic Complexity of this method is 14 which is greater than 10 authorized.\n" +
"{quote}\n\n\nCheck it on SonarQube: http://my.sonar.com/issue/show/ABCD");
"{quote}\n\n\nCheck it on SonarQube: http://my.sonar.com/issues/show/ABCD");

// Verify
RemoteIssue returnedIssue = jiraIssueCreator.initRemoteIssue(sonarIssue, settings);
Expand All @@ -198,7 +198,7 @@ public void shouldInitRemoteIssueWithTaskType() throws Exception {
expectedIssue.setPriority("4");
expectedIssue.setSummary("SonarQube Issue #ABCD - Avoid cycle between java packages");
expectedIssue.setDescription("Issue detail:\n{quote}\nThe Cyclomatic Complexity of this method is 14 which is greater than 10 authorized.\n" +
"{quote}\n\n\nCheck it on SonarQube: http://my.sonar.com/issue/show/ABCD");
"{quote}\n\n\nCheck it on SonarQube: http://my.sonar.com/issues/show/ABCD");

// Verify
RemoteIssue returnedIssue = jiraIssueCreator.initRemoteIssue(sonarIssue, settings);
Expand All @@ -218,7 +218,7 @@ public void shouldInitRemoteIssueWithComponent() throws Exception {
expectedIssue.setPriority("4");
expectedIssue.setSummary("SonarQube Issue #ABCD - Avoid cycle between java packages");
expectedIssue.setDescription("Issue detail:\n{quote}\nThe Cyclomatic Complexity of this method is 14 which is greater than 10 authorized.\n" +
"{quote}\n\n\nCheck it on SonarQube: http://my.sonar.com/issue/show/ABCD");
"{quote}\n\n\nCheck it on SonarQube: http://my.sonar.com/issues/show/ABCD");
expectedIssue.setComponents(new RemoteComponent[] {new RemoteComponent("123", null)});

// Verify
Expand Down Expand Up @@ -247,7 +247,7 @@ public void shouldInitRemoteIssueWithoutName() throws Exception {
expectedIssue.setPriority("4");
expectedIssue.setSummary("SonarQube Issue #ABCD");
expectedIssue.setDescription("Issue detail:\n{quote}\nThe Cyclomatic Complexity of this method is 14 which is greater than 10 authorized.\n" +
"{quote}\n\n\nCheck it on SonarQube: http://my.sonar.com/issue/show/ABCD");
"{quote}\n\n\nCheck it on SonarQube: http://my.sonar.com/issues/show/ABCD");

// Verify
RemoteIssue returnedIssue = jiraIssueCreator.initRemoteIssue(sonarIssue, settings);
Expand Down