Skip to content

Commit 1d90546

Browse files
committed
replaces /sprints route with /sprintquery according to https://jira.atlassian.com/browse/GHS-9321
1 parent 028b24f commit 1d90546

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
@@ -370,7 +370,7 @@ var JiraApi = exports.JiraApi = function(protocol, host, port, username, passwor
370370

371371
var options = {
372372
rejectUnauthorized: this.strictSSL,
373-
uri: this.makeUri('/sprints/' + rapidViewId, 'rest/greenhopper/'),
373+
uri: this.makeUri('/sprintquery/' + rapidViewId, 'rest/greenhopper/'),
374374
method: 'GET',
375375
json:true
376376
};

spec/jira.spec.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ describe "Node Jira Tests", ->
130130
it "Gets the last sprint for a Rapid View", ->
131131
options =
132132
rejectUnauthorized: true
133-
uri: makeUrl("sprints/1", true)
133+
uri: makeUrl("sprintquery/1", true)
134134
method: 'GET'
135135
json: true
136136

0 commit comments

Comments
 (0)