Sonarqube URL in email notification gives "You may have mistyped the address or the page may have moved"

Sonarqube URL that is provided in notification email gives error:

" The page you were looking for does not exist.You may have mistyped the address or the page may have moved.
Go back to the homepage"

The Base URL configured is https://XXXXX/sonar/ in email it appends extra details like project id and some specific issues id which is not needed? How can i customize this extra part of the URL as I did not find any configuration field for the same.

Email URL is:

http://XXXXX/sonar/project/issues?id=XXXX&assignees=XXXX&createdAt=2018-11-29T07%3A24%3A36%2B0100

Hey Monali,

What happens if you navigate to the URL with everything decoded? see: http://XXXXX/sonar/project/issues?id=XXXX&assignees=XXXX&createdAt=2018-11-29T07:24:36+0100

Hi, Please find the image attached

And what happen when you go on : http://XXXXX/sonar/project/issues?id=XXXX ?

It is giving error:

Forbidden

You don’t have permission to access /sonar/project/issues on this server.

This is very strange as you have 3 different behaviour :

  • With URL from the email, you get a “page not found”
  • With URL that contains a date encoded differently, you have access to the page but an error is displayed about the date
  • With URL that only contains the id of the project, you get a permission issue.

I do not understand at all what is happening on your SonarQube, I’m very sorry…

Sorry, it was my bad I was on VPN due to which it gave forbidden error. I just tried without VPN and page opened up displaying list of all issues for Klarets project.

What I need is the Dashboard where it displays the list of project, can we edit the URL in anyway?

Monali,

  1. No
  2. What kind of notification is this linking showing up for? “My new issues” or “Changes in issues assigned to me”? Why would you want to strip the project/issue specific details from that link?

Colin

For now we have selected all the available options for notification image ble options for Notifications

Cool. That means you are probably getting notification specific to issues in a SonarQube project, and we want to take you to the most relevant page.

Ok so you mean the URL getting generated is correct and will take to most recent issues found or created right?

If you are getting a notification about new issues, issues assigned to you, change in issues… you’ll be taken to the most relevant view for those issues.