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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...