You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
When using scriptrunner for confluence cloud
get('/wiki/api/v2/spaces?labels=project').asObject(Map).body
I get a 502 error response.
And this is not caused by scriptrunner.
The same happens when issuing the following request to my confluence cloud instance, yet this time it will be a 500 internal error response.
https://coldrye-forge.atlassian.net/wiki/api/v2/spaces?labels=project
leaving you with a response similar to this
However, the official API documentation states, that one should be able to query for spaces that have specific labels (comma separated list of labels).
https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-space/#api-spaces-get
however, the return result for get spaces does not contain any labels
{ "results": [ { "id": "<string>", "key": "<string>", "name": "<string>", "type": "global", "status": "current", "homepageId": "<string>", "description": { "plain": {}, "view": {} } } ], "_links": { "next": "<string>" } }
and why does this editor not support any code "embeds"?