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 vote

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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Sarah Goff-Dupont
Published 6 hours ago in Confluence

Think you know shares vs. @mentions in Confluence? Take this collab quiz.

To anyone who doubts that Atlassians are a little too obsessed with collaboration, and tools related thereto, let me describe a recent discussion we had (which took place on our internal Confluence, ...

70 views 2 3
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