Remove hard-coded project key

This commit is contained in:
Andy Teijelo Pérez 2017-04-13 15:56:06 -04:00
parent 0f7d1fa6d2
commit 6d3615cdda

View file

@ -20,7 +20,7 @@ date = float(date)
date = time.localtime(date)
date = time.strftime(r'%Y-%m-%d', date)
url_template = 'https://{base_url}/rest/tempo-timesheets/3/worklogs?projectKey=PAS&dateFrom={date}&dateTo={date}&expand=issue.status'
url_template = 'https://{base_url}/rest/tempo-timesheets/3/worklogs?dateFrom={date}&dateTo={date}&expand=issue.status'
url = url_template.format(base_url=args.base_url, date=date)
resp = requests.get(url, verify=False)