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!

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 ...

Accelerating Observability as Code with the Splunk AI Assistant

We’ve seen in previous posts what Observability as Code (OaC) is and how it’s now essential for managing ...