It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Can't create a Browse Shortcut with a CQL (advanced) search

Trying to add this URL as a browse shortcut:"*"+and+space+%3D+"ATD"+and+type+%3D+"page"+and+label+%3D+"serviceprogram"&queryString=

That link works fine in a browser. Two problems when trying to turn this into a Browse Shortcut (in my case, trying to create a shortcut named asi-sp):

1) The Browse Shortcut config page says invalid URL. That's because of the quotes. I changed them to single quotes and it still works in the browser, and viola! Browse Shortcut created. 

2) When using the shortcut (ex: [email@asi-sp] things go OK, but when you click on the clink, total barf (404). Here is the resulting URL:*%2527%2Band%2Btype%2B%253D%2B%2527page%2527%2Band%2Blabel%2B%253D%2B%2527serviceprogram%2527&q=email

As you can see, the quotes, plus symbols, percent signs are getting escaped by Confluence.

If I manually edit the URL back to what it is supposed to be:'*'+and+type+%3D+'page'+and+label+%3D+'serviceprogram'&q=email

It works great.






1 answer

0 votes

Hi Sean,

Wasn't able to replicate this specifically, even if I send the URL to myself in email it opens properly. The broken link for me wasn't throwing a 404 but telling me there was an issue with my search query.

However, I don't think it's Confluence re-writing the URL, it appears to be related to the email client or browser. This is because it's using reserved symbols in the URL and it automatically corrects it.

What if you were to use a URL shortener, such as tinyurl and send the link to search results that way? Does it work for you?

Kind Regards,

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published Thursday in Confluence

Confluence CVEs and common questions

Two vulnerabilities have been published for Confluence Server and Data Center recently: March 20, 2019 CVE-2019-3395 / CVE-2019-3396 April 17, 2019 CVE-2019-3398 The goal of this article is...

227 views 0 12
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you