All Apps and Add-ons

Splunk Add-on Bamboo: how to change bamboo.py to get additional data

timoMD
Explorer

the normal request against the bamboo server is parsed in the bamboo.py
(line 43 :
def _get_url(endpoint):
43 return endpoint+'.json' + "?plan&jiraIssues.issue&max-results="+str(SYNC_EVENTS_PER_PAGE)
)

--- > https://bamboo-server:443/rest/api/latest/result/xxxx.json?max-results=1000

How to change the line to create the following request:

---> https://bamboo-server/rest/api/latest/result/xxxx.json?expand=plan&expand=jiraIssues.issue&max-resul...

0 Karma

timoMD
Explorer

sorry the is the right bamboo.py line 42, 43:

def _get_url(endpoint):
return endpoint+'.json' + "?max-results="+str(SYNC_EVENTS_PER_PAGE)

0 Karma
Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Dynamic formatting from XML events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...