The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Omniture javascript in announcement banner produces an error on configure board page

brookula
Contributor
November 19, 2018

With Omniture (AKA Adobe Experience Cloud) enabled in the announcement banner in JIRA  v 7.12.3, an error occurred.

<!-- OMNITURE INFO -->
<script language="JavaScript" src="/includes/js/omniture/jira_omniture_code.js"></script>
<script language="JavaScript">
    var s_code=s.t();if(s_code)document.write(s_code)
</script>

The script file itself is stored in [jira install]/atlassian-jira/incluses/js/omniture and is SiteCatalyst code version: H.26.2.

Are there different versions of the script compatible with various Java/tomcat/jira versions?

 Steps: 

  1. Navigate to an board
  2. Click on Board > Configure Board

Result: 

An error message appeared:

An error occurred

Please try refreshing the page, or contact your administrator / Atlassian Support if the problem continues.

Details

    • Exception: Uncaught ReferenceError: s is not defined
    • Resource: https://[instance url]/secure/RapidView.jspa?rapidView=1108
    • Line: 373
    • Column: 16

      Environment

Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36

Stack trace

  • ReferenceError: s is not defined
  • at https://[instance url]/secure/RapidView.jspa?rapidView=1108:373:16

2 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
Answer accepted
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
November 19, 2018

You'll need to get in touch with Ominture/Adobe for this really, the insertion of their script renders your Jira unsupported by Atlassian, and they've given you a script that does not work for the current version.

0 votes
Alan Stephenson
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
December 4, 2018

Still looking for a solution/suggestion. I know the person above suggested to reach out to Adobe which we are already doing. What is interesting is this fails when we moved from 7.2.7 -> 7.12.3. Everything works except when you pull up any Agile board or click "configure" for a board. 

Has anyone successfully used Site Catalyst, aka Omniture from Adobe on any Atlassian products? We have the exact same code on Confluence 510.8 and have zero issue.