Skip to content

Commit da1bc51

Browse files
committed
Point feedback script at new JIRA
NB: haven't tracked down where JIRA_COLLECTOR_ID is defined, so hardcoding for now.
1 parent f21e15b commit da1bc51

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/js/06-page-rating.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
},
7777
'fieldValues': {
7878
'summary': `Feedback on ${document.title}`,
79-
'customfield_11580': window.location.href,
79+
'customfield_11256': window.location.href,
8080
'description': `\n\nBrowser environment: ${navigator.userAgent}`,
8181
},
8282
}

src/js/vendor/feedback.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33

44
// if (Math.max(window.screen.availHeight, window.screen.availWidth) > 769) return
55
window.addEventListener('load', function () {
6-
var config = document.getElementById('feedback-script').dataset
6+
// var config = document.getElementById('feedback-script').dataset
77
var script = document.createElement('script')
88
// eslint-disable-next-line max-len
9-
script.src = 'https://issues.couchbase.com/s/4e5aeb929d05d6c94d980322c73e6ee4-T/n8ktcf/805004/be0e2f3d0946caa44cd62a35c9de2f18/4.0.0/_/download/batch/com.atlassian.jira.collector.plugin.jira-issue-collector-plugin:issuecollector-embededjs/com.atlassian.jira.collector.plugin.jira-issue-collector-plugin:issuecollector-embededjs.js?locale=en-US&collectorId=' + config.collectorId // prettier-ignore
9+
script.src = 'https://jira.issues.couchbase.com/s/d41d8cd98f00b204e9800998ecf8427e-T/-vg1gsr/b/7/c95134bc67d3a521bb3f4331beb9b804/_/download/batch/com.atlassian.jira.collector.plugin.jira-issue-collector-plugin:issuecollector/com.atlassian.jira.collector.plugin.jira-issue-collector-plugin:issuecollector.js?locale=en-US&collectorId=8cee3bf4' // + config.collectorId // prettier-ignore
1010
document.body.appendChild(script)
1111
})
1212
})()

0 commit comments

Comments
 (0)