Skip to content

Instantly share code, notes, and snippets.

@jefft
Created April 26, 2018 02:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jefft/228a16b685a99e18dd6d036d868ae071 to your computer and use it in GitHub Desktop.
Save jefft/228a16b685a99e18dd6d036d868ae071 to your computer and use it in GitHub Desktop.
Hiptest for JIRA Upgrade error
PROBLEM
After:
- upgrading JIRA from 7.1.2 to 7.9.0
- With Hiptest plugin (v1.2.2) installed
- In an issue, add a Hiptest scenario URL of the form https://app.hiptest.com/projects/*/test-plan/folders/*
- Viewing a Scrum board backlog
- ..and clicking an issue to view the preview on the right.
One gets a Javascript error:
An error occurred
Please try refreshing the page, or contact your administrator / Atlassian Support if the problem continues.
Details
Exception: Uncaught Error: Unexpected message received from: https://app.hiptest.com for iFrameResizer0. Message was: [iFrameSizer]iFrameResizer0:126:304:init. This error can be disabled by adding the checkOrigin: false option.
Resource: https://jira.example.com/s/802e1b338b1baeae550eb02ed19a1771-CDN/-dylxh0/79000/ecdfe497766da31193f000550c4f71b2/362064b4a7d702d729c53a2a40519428/_/download/contextbatch/js/greenhopper-rapid-non-gadget,atl.general,gh-rapid,jira.project.sidebar,com.atlassian.jira.projects.sidebar.init,jira.global,jira.general,-_super/batch.js?agile_global_admin_condition=true&baseurl-check-resources=true&is-server-instance=true&is-system-admin=true&jag=true&jaguser=true&locale=en-US&nps-not-opted-out=true&richediton=true&whisper-enabled=true
Line: 15768
Column: 810
Environment
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.162 Safari/537.36
Stack trace
Error: Unexpected message received from: https://app.hiptest.com for iFrameResizer0. Message was: [iFrameSizer]iFrameResizer0:126:304:init. This error can be disabled by adding the checkOrigin: false option.
at j (https://jira.example.com/s/802e1b338b1baeae550eb02ed19a1771-CDN/-dylxh0/79000/ecdfe497766da31193f000550c4f71b2/362064b4a7d702d729c53a2a40519428/_/download/contextbatch/js/greenhopper-rapid-non-gadget,atl.general,gh-rapid,jira.project.sidebar,com.atlassian.jira.projects.sidebar.init,jira.global,jira.general,-_super/batch.js?agile_global_admin_condition=true&baseurl-check-resources=true&is-server-instance=true&is-system-admin=true&jag=true&jaguser=true&locale=en-US&nps-not-opted-out=true&richediton=true&whisper-enabled=true:15768:816)
at d (https://jira.example.com/s/802e1b338b1baeae550eb02ed19a1771-CDN/-dylxh0/79000/ecdfe497766da31193f000550c4f71b2/362064b4a7d702d729c53a2a40519428/_/download/contextbatch/js/greenhopper-rapid-non-gadget,atl.general,gh-rapid,jira.project.sidebar,com.atlassian.jira.projects.sidebar.init,jira.global,jira.general,-_super/batch.js?agile_global_admin_condition=true&baseurl-check-resources=true&is-server-instance=true&is-system-admin=true&jag=true&jaguser=true&locale=en-US&nps-not-opted-out=true&richediton=true&whisper-enabled=true:15768:1570) 
SOLUTION
The Hiptest plugin is using 'https://hiptest.net' as its URL to contact the hiptest server. The correct URL is now 'https://app.hiptest.com'. Update this by clicking 'Manage' on the add-on (/plugins/servlet/hiptest/admin) and edit the 'Hiptest URL'.
See also https://community.hiptest.com/t/a-error-occured-on-jira-dialog/1494
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment