How to hide Jira Version the response Header and Metadata

Jaewoong Choi December 6, 2021

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

0 votes
Fabio Racobaldo _Herzum_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 7, 2021
Jaewoong Choi December 7, 2021

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

Jaewoong Choi December 7, 2021

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();

0 votes
Jaewoong Choi December 7, 2021

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">

Fabio Racobaldo _Herzum_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 7, 2021

Hi @Jaewoong Choi ,

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

Fabio

Jaewoong Choi December 7, 2021

Please check the example page below.

http://jira.pluginsw.com:8080/secure/Dashboard.jspa

Jaewoong Choi December 7, 2021

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
Fabio Racobaldo _Herzum_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 7, 2021

Hi @Jaewoong Choi ,

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