New Issue Collector URLs are incorrect

XMLWordPrintable

      Problem Description

      Issue Collector is not loading after adding to the html file. This is discovered on the Cloud instance.

      Steps to replicate

      1. Add an issue collector on a project
      2. Copy the script after submit the form, example below:
            <script type="text/javascript" src="https://example.atlassian.net/s/397981e324529160049d59ee9c3cc505-T/en_USop6rpr/72000/b6b48b2829824b869586ac216d119363/2.0.12/_/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" data-wrm-key="com.atlassian.jira.collector.plugin.jira-issue-collector-plugin:issuecollector" data-wrm-batch-type="resource&collectorId=d75f2fdf"></script>
        
      3. Add it to the html tags as suggested:
        <html>
            <head>...<meta charset="utf-8"/></head>
            <body>
                <h1>Hello World!</h1>
            <script type="text/javascript" src="https://example.atlassian.net/s/397981e324529160049d59ee9c3cc505-T/en_USop6rpr/72000/b6b48b2829824b869586ac216d119363/2.0.12/_/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" data-wrm-key="com.atlassian.jira.collector.plugin.jira-issue-collector-plugin:issuecollector" data-wrm-batch-type="resource&collectorId=d75f2fdf"></script>
            </body>
        </html>
        
      4. Test loading it from browser

      Expected result

      Issue collector loads as per configuration

      Actual result

      Nothing is loaded with no error message

      Workaround

      You can adjust the url manually so that all parameters are concatenated by ampersands.

            Assignee:
            Unassigned
            Reporter:
            Richie Gee (Inactive)
            Votes:
            4 Vote for this issue
            Watchers:
            16 Start watching this issue

              Created:
              Updated:
              Resolved: