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.
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.
Thanks.
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 ;)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.