Source

python-bitbucket / examples / new_issue.py

Full commit
1
2
3
4
5
6
7
8
9
from api import API

api = API("kveroneau", "**password**")
issue = api.new_issue("kveroneau", "python-bitbucket")

issue.title = "Testing Python API"
issue.content = "Hello World!\nLine 2"
json = issue.save()