Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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,559,612
Community Members
 
Community Events
185
Community Groups

Querying spaces for their assigned labels results in a STATUS=500 error response

Edited

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

image.png

 

  1. Request URL:
  2. Request Method:
    GET
  3. Status Code:
    500

 

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"?

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
TAGS
AUG Leaders

Atlassian Community Events