Skip to content

Commit 266b855

Browse files
author
Steven Surowiec
committed
Merge pull request #45 from Woellchen/change_sprints_route
replaces /sprints route with /sprintquery according to https://jira.atla...
2 parents ed27578 + 1d90546 commit 266b855

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/jira.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ var JiraApi = exports.JiraApi = function(protocol, host, port, username, passwor
382382

383383
var options = {
384384
rejectUnauthorized: this.strictSSL,
385-
uri: this.makeUri('/sprints/' + rapidViewId, 'rest/greenhopper/'),
385+
uri: this.makeUri('/sprintquery/' + rapidViewId, 'rest/greenhopper/'),
386386
method: 'GET',
387387
json:true
388388
};

spec/jira.spec.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ describe "Node Jira Tests", ->
141141
it "Gets the last sprint for a Rapid View", ->
142142
options =
143143
rejectUnauthorized: true
144-
uri: makeUrl("sprints/1", true)
144+
uri: makeUrl("sprintquery/1", true)
145145
method: 'GET'
146146
json: true
147147
auth:

0 commit comments

Comments
 (0)