Monthly Archives: april 2012

Getting data out of Jira using a REST interface and Python

TweetIt is a lot easier than I expected. Have fun with it! Example code:
#!/usr/bin/python
# Author: J. Baten
# Date: 2012-04-10
import urllib, urllib2, cookielib, json
# set up cookiejar for handling URLs
cookiejar = cookielib.CookieJar()
myopener = urllib2.build_opener(urllib2.HTTPCookieProcessor(cookiejar))
jira_serverurl=”http://server:8080/jira”
# Search using JQL
queryJQL = “updated >= -1d”
IssuesQuery … Continue reading

Posted in Geen categorie | Comments Off on Getting data out of Jira using a REST interface and Python