Skip to content

Commit

Permalink
#19 fixing reserved words issue on jql.
Browse files Browse the repository at this point in the history
  • Loading branch information
kosalaperera committed Jul 11, 2017
1 parent 0e65fd3 commit d9b0bbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bot/modules/services/jira.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ function getRecentIssues(jiraOptions, days, callback) {

// search the issues that matches the project
function searchIssues(jiraOptions, project, callback) {
const urlStub = `search?jql=project%20in%20(${project})%20ORDER%20BY%20updated%20DESC&fields=summary&maxResults=10`;
const urlStub = `search?jql=project%20in%20('${project}')%20ORDER%20BY%20updated%20DESC&fields=summary&maxResults=10`;
const options = _getRequestOptions(jiraOptions, urlStub);

return request.get(options)
Expand Down

0 comments on commit d9b0bbf

Please sign in to comment.