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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to limit the fields in Bamboo REST response

I am trying to retrieve some fields from Bamboo REST response. I wan't to be able limit the number of returned fields. 

Previously while using Jira REST API I was able to do this using "fields" parameter. But not able to find how this can be done in Bamboo.


1 answer

I'm not 100% positive, but I think you cannot further limit the result shapes returned by default - that being said, the Bamboo REST API does use a similar mechanism conceptually, albeit only to further expand the default shapes with potentially significant additional details for the returned collections, see How to use expansion in the REST APIs:

In order to be minimise network traffic from the client perspective, our API uses a technique called expansion.

You can use the 'expand' query parameter to specify a comma-separated list of entities that you want expanded, identifying each entity by a given identifier. For example, the value "changes,stages.stage.results.result" requests the expansion of entities for which the expand identifier is "change" and "stages".


The phrasing seems to indicate that the default shapes are considered minimized already, and at least compared to what can be returned in principle that's kind of true ;)

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bamboo

Bamboo Data Center - Early Access Program 2

We’re preparing for Bamboo 8.0, which will be our first Data Center release. To make sure our app vendors and customers with written in-house apps are prepared, we’re launching Bamboo 8.0 Early Acces...

150 views 1 7
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