Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Hello, I need to enable website monitoring of the jira v8.5.5. in Instana

Following this guide I tried to setup monitoring of Jira in Instana but no data are received:
https://www.instana.com/docs/website_monitoring/#installation

I have troubles to upload below script to Jira HTML code as Instana requires:
<script>
  (function(s,t,a,n){s[t]||(s[t]=a,n=s[a]=function(){n.q.push(arguments)},
  n.q=[],n.v=2,n.l=1*new Date)})(window,"InstanaEumObject","ineum");

  ineum('reportingUrl''https://eum-blue-saas.instana.io');
  ineum('key''XXXXXXXXXXXXXX');
  ineum('trackSessions');
</script>
<script defer crossorigin="anonymous" src="https://eum.instana.io/eum.min.js"></script>

 

Can anybody advice how I can update e.g. Jira login page to have that code in it?

Thanks in advance

1 answer

0 votes

What are you trying with your "upload"?


This is the guide directly from Instana:
Tracking_script_Instana_jira.pngI Tried to update login.jsp with above script but so success. Nothing is visible in Instana. Even when I try to see source code in browser I can't see my updates there.

login.jsp_modifications.png

Elsewhere I found that not reflected changes might be cause by caching and there was recommended to comment out below login.jsp lines in web.xml to make changes visible. I restarted Jira few times but still no success.

servlet_modifications.png

Note: There is one more file called login.jsp in folder decorators and I didn't touch that one so far.

Jamming javascript chunks into jsp pages generally does not work, you will need to look at all the code in Jira that generates the pages and work out where to inject the code at a higher level than individual pages, as it needs to be run as part of the whole, not a subset page.

I'm not sure where Jira gets all of its javascript from, when it serves the main page up.   I've never looked beyond finding the odd error that's usually been on a jsp or a velocity template.  Some of it might be being generated by the java (although I doubt it, it is a possibility)

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you