Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,297,574
Community Members
 
Community Events
165
Community Groups

Launch a Confluence search from an external application by launching a URL

I'd like to be able to open a search on Confluence by launching a URL, it might look something like:

https://tools.mycompany.ca/confluence?search="Winnie the Pooh"

Possible? 

2 answers

1 accepted

0 votes
Answer accepted

Hi @Gerry H 
Welcome to the Atlassian Community.

That type of integration isn't available out-of-the-box, but you could certainly develop something on top of the Confluence REST API to accomplish that.

You could have your external application linked to Confluence using OAuth and then rely on /rest/api/search to provide search results from Confluence without leaving the current application.

A more simple solution would be opening a new tab/window with the search string pointing to your Confluence instance.

<Confluence-URL>/dosearchsite.action?cql=siteSearch&queryString=my+search+string

I hope that helps.

Kind regards,
Thiago Masutti

Adding to Thiago's reply - if you go to https://tools.mycompany.ca/confluence/dosearchsite.action - you can use the left hand side filters to generate a more targetted set of search results - eg: it'll show that to see only Pages updated in the last week mentioning Winnie the Pooh, you can pass the query string /dosearchsite.action?cql=siteSearch+~+"winne+the+pooh"+and+lastmodified+>%3D+now(%27-1w%27)+and+type+%3D+"page"&queryString=winne+the+pooh

Add &includeArchivedSpaces=true to include archived spaces

CCM

Like # people like this

Awesome CCM, thanks!

Thiago, I like your second answer a lot better than the first. My boss is expecting me to spend a hour on this, not hours or days.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence

An update on Confluence Cloud customer feedback – June 2022

Hi everyone, We’re always looking at how to improve Confluence and customer feedback plays an important role in making sure we're investing in the areas that will bring the most value to the most c...

71 views 0 0
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you