Remove hard-coded project key
This commit is contained in:
parent
0f7d1fa6d2
commit
6d3615cdda
1 changed files with 1 additions and 1 deletions
2
daily.py
2
daily.py
|
@ -20,7 +20,7 @@ date = float(date)
|
||||||
date = time.localtime(date)
|
date = time.localtime(date)
|
||||||
date = time.strftime(r'%Y-%m-%d', 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)
|
url = url_template.format(base_url=args.base_url, date=date)
|
||||||
|
|
||||||
resp = requests.get(url, verify=False)
|
resp = requests.get(url, verify=False)
|
||||||
|
|
Loading…
Reference in a new issue