Created
August 26, 2013 19:26
-
-
Save waldronj/6345549 to your computer and use it in GitHub Desktop.
jira integration python
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class PylonstestingController(BaseController): | |
jac = {'server': 'someSite'} | |
jira = JIRA(options=jac,basic_auth=('SomeUser', 'SomePassword')) | |
def index(self, id): | |
#jac = {'server': 'someSite'} | |
#jira = JIRA(options=jac,basic_auth=('SomeUser', 'SomePassword')) | |
searchString = 'project=' + id + '&status=open' | |
c.issues = jira.search_issues(searchString, maxResults=1000) | |
#c.issues = issues | |
return render('index.html') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Try this: