-
Bug
-
Resolution: Not a bug
-
Low
-
None
-
3.5
There is currently a parameter in the API that allows you to filter search results by label (see http://docs.atlassian.com/atlassian-confluence/REST/latest/#id288504) but queries that use it return an empty results list.
eg:
/rest/prototype/1/search/site?spaceKey=TST&type=page&label=testing
will return nothing.
Workaround for Confluence 3.5:
User a query parameter with 'labelText' to define the label:
/rest/prototype/1/search/site?spaceKey=TST&type=page&query=labelText:testing
This workaround no longer works in Confluence 4.0+
- mentioned in
-
Page Loading...
I'm trying to use this syntax but can't seen to get it to work with the "my" namespace. Here is an example of my querystring.
http://wiki/rest/prototype/latest/search/site.json?type=page&label=my:favourite
All I get in return is ...
{"totalSize":0,"result":[],"group":[]}Currently using 5.1.2. Am I doing this wrong?