-
Bug
-
Resolution: Unresolved
-
Medium
-
None
-
3.2.2
-
standalone, linux/centos 5.5, jdk 1.6.0_25
-
Severity 2 - Major
-
0
-
Whatever range I provide to results via
expand=result[n:m]
I cannot get results older than 25 last results. Still, I can get particular result providing it's number. Examples:
https://bamboo.hurra/rest/api/latest/result/SEM-TOD?expand=results[23:25]
<results expand="results"><results expand="result" size="657" max-result="25" start-index="0"><result id="25658441" number="647" lifeCycleState="Finished" state="Successful" key="SEM-TOD-647"><link rel="self" href="https://bamboo.hurra/rest/api/latest/result/SEM-TOD-647"/></result><result id="25658437" number="646" lifeCycleState="Finished" state="Failed" key="SEM-TOD-646"><link rel="self" href="https://bamboo.hurra/rest/api/latest/result/SEM-TOD-646"/></result></results><link rel="self" href="https://bamboo.hurra/rest/api/latest/result/SEM-TOD"/></results>
https://bamboo.hurra/rest/api/latest/result/SEM-TOD?expand=results[25:26]
<results expand="results"><results expand="result" size="657" max-result="25" start-index="0"/><link rel="self" href="https://bamboo.hurra/rest/api/latest/result/SEM-TOD"/></results>
https://bamboo.hurra/rest/api/latest/result/SEM-TOD?expand=results[25:]
<results expand="results"><results expand="result" size="657" max-result="25" start-index="0"/><link rel="self" href="https://bamboo.hurra/rest/api/latest/result/SEM-TOD"/></results>
https://bamboo.hurra/rest/api/latest/result/SEM-TOD?expand=results[-27:-26]
<results expand="results"><results expand="result" size="657" max-result="25" start-index="0"/><link rel="self" href="https://bamboo.hurra/rest/api/latest/result/SEM-TOD"/></results>
Still, single result for any particular request below this limit works OK:
https://bamboo.hurra/rest/api/latest/result/SEM-TOD-649
<result restartable="false" continuable="false" id="25658449" number="649" lifeCycleState="Finished" state="Successful" key="SEM-TOD-649" expand="changes,metadata,artifacts,comments,labels,jiraIssues,stages"><link rel="self" href="https://bamboo.hurra/rest/api/latest/result/SEM-TOD-649"/><planName>bamboo-tod</planName>....
- is related to
-
BAM-17961 Result resource shows incorrect size of build results
- Gathering Impact