Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
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

How to hide Jira Version the response Header and Metadata

Hi

An internal audit pointed out that the Version is exposed in Response header and Metadata for the Jira system.
So I tried to hide this, "Hiding the Jira version number from page markup" method, but it didn't work. Is there any other way?

That's the information I want to hide.

<meta name="application-name" content="JIRA" data-name="jira" data-version="7.13.18">

<meta name="ajs-version-number" content="7.13.18">

<meta name="ajs-build-number" content="713018">

 

Thanks

3 answers

I've already tried the way you told me. But it didn't work. That's why I asked if there was another way.

Eventually, I decided to process it with the script below.


AJS.$("meta[name='application-name']").remove();
AJS.$("meta[name='ajs-version-number']").remove();
AJS.$("meta[name='ajs-build-number']").remove();

Footer has already taken action.
What I want is that when I look at the page information using Dev tools in the browser, I don't see the information below.


<meta name="application-name" content="JIRA" data-name="jira" data-version="7.13.18">
<meta name="ajs-version-number" content="7.13.18">
<meta name="ajs-build-number" content="713018">

Hi @1ofxkd_g ,

please could you post that page? I need to explore it in order to figure out how to hide those elements.

Fabio

After all, what I want to do is to make the following values invisible to the user or remove them from the Response Header value or Browse's Dev Tool.


<meta name="application-name" content="JIRA" data-name="jira" data-version="$JiraVersion">
<meta name="ajs-version-number" content="$JiraVersion">
<meta name="ajs-build-number" content="$JiraVersion">

0 votes

Hi @1ofxkd_g ,

you need to add the following code in the Announcement Banner :

<script>
jQuery().ready(function() {
   jQuery("#footer").hide();

}

</script>

Hope this helps,

Fabio

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