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!

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

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