diff --git a/src/tasks/report.ts b/src/tasks/report.ts index ad21d12f..8493ca87 100644 --- a/src/tasks/report.ts +++ b/src/tasks/report.ts @@ -108,7 +108,7 @@ function issueToString(issue: any, issue: issue, // take the first URL from the merge request urls array (usually if there are URLs, then there is that only one) mergeRequestUrl: getMergeRequestUrls(projectMergeRequests, issue.project_id, issue.iid)[0], - project: Api.getProjectPath(issue), + project: issue.web_url.replace('https://gitlab.com/', '').split('/issues/')[0], weeksOpen: moment().diff(moment(issue.created_at), 'weeks'), }); /* tslint:enable */