Python Rest Client for Consuming Bamboo Deliverables

Hi there,

I was wondering if there is a python rest client  build for consuming Bamboo deliverables.

 

Thanks,

GN

 

1 answer

This widget could not be displayed.

Hello GN,

Thank you for your question.

You could be running the following, if suits you:

import requests
import json

# [BAMBOO-BASE-URL], i.e.: http://localhost:8085
url = '[BAMBOO-BASE-URL]/rest/api/latest/info'
headers = {'Content-Type': 'application/json'}


# create page
# [USERNAME], i.e.: admin
# [PASSWORD], i.e.: admin
r = requests.get(url, headers=headers, auth=('[USERNAME]', '[PASSWORD]'))
print(r.status_code)
print(r.text)

If you find this answer useful, I would kindly ask you to accept it so the same will be visible to others who might be facing the same issue you have inquired.

Thank you for your understanding.

Kind regards,
Rafael P. Sperafico
Atlassian Support

That did the trick! Thanks! Very helpful!

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Published 6 hours ago in Marketplace Apps

The 7 hacks of highly successful automation

...there's anything I've learnt from working, it's that people are lazy! No offense to anyone reading this, but it's true and we can all admit it. The easier you make something for someone, the more...

38 views 0 8
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you