Skip to content

Commit bc7d61a

Browse files
committed
Fix ticket info fetching for PR page
1 parent 9765d94 commit bc7d61a

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/background.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ function(request, sender, sendResponse) {
66
url = 'https://' + request.jiraUrl + '/rest/auth/1/session';
77
break;
88
case 'getTicketInfo':
9-
url = 'https://'+request.jiraUrl+'/browse/' + request.ticketNumber;
9+
url = 'https://'+request.jiraUrl+'/rest/api/latest/issue/' + request.ticketNumber + '';
1010
break;
1111
}
1212

src/content.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,6 @@ function handlePrPage() {
231231
}
232232

233233
function handlePrCreatePage() {
234-
console.log('Handle PR page');
235234
var body = $("textarea#pull_request_body");
236235
if (body.attr('jira-loading') == 1) {
237236
return false; //Already loading

0 commit comments

Comments
 (0)