How can I search by labels with Scroll Viewport

Hi There,

I'm trying to enable searching by labels. This page suggests that labels can be used, but when I try something like this in my search.vm ...
<form action="search" method="GET" class="form-inline text-center" role="form" style="margin-bottom: 2em;">
                        <div class="form-group">
                            <label class="sr-only" for="searchQuery">Email address</label>
                            <input class="form-control input-lg" id="searchQuery" name="q" type="text" placeholder="Enter Search" value="$!searchRequest.queryString" />
                            <input type="hidden" name="s" value=$all_spaces />
                            <input type="hidden" name="l" value="mylabel" />
                        <button class="btn btn-primary btn-lg" type="submit">Search</button>


Where I specify label (field with name="l"), the search returns no results.
Is it possible to specify label?

2 answers

Hi Matthew,


We are aware of this issue as it is already reported here:
There is a problem with how Viewport integrates with the Confluence search.
Please sign up at!default.jspa to watch, comment on or vote for this issue. You'll then get a notification for every status update on the issue.


Hi Roman,

Thanks for the update, I tried to register but cannot seem to make it work. Have sent an email to support.

I notice this issue has been open a year with no status updates - is there any ETA on when this might be supported please?







Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 13, 2019 in Marketplace Apps

Marketplace Spotlight: Marketing apps for Confluence to keep your teams working on the same page


275 views 0 7
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