atlassian - Hide the "Smart querying activated" message in Jira -


every time search in jira, message pops up:

enter image description here

now want smart querying enabled, don't need message every time search, because it's placed on top of buttons...

is there way disable this?

seems there no way disable this, doesn't happen every search. happens keywords trigger smart querying capabilities. example, word matches status in jira (e.g. open, resolved).

a workaround described in jira issue: https://jira.atlassian.com/browse/jra-44561

<script type="text/javascript">  jquery(window).load(function(){  	/*  	  hides blank announcement banner div.  	  if using announcement banner already,   	  comment or remove line below   	*/  	ajs.$("#announcement-banner").hide();     	/*  	  if page issue navigator , running jql query (not filter)  	  checks if there "aui flag container". if there 1 , text  	  "smart querying activated", hides banner.  	*/  	if (window.location.pathname.includes("/issues/") && window.location.search.includes("?jql=")){  		test = ajs.$("#aui-flag-container")  		if (test.text().includes("smart querying activated")) {  			ajs.$("#aui-flag-container").hide();  		}  	}  });  </script>

basically runs javascript inserted (customisable) announcement banner.

very annoying usual atlassian said won't fix it.


Comments

Popular posts from this blog

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings' -

javascript - oscilloscope of speaker input stops rendering after a few seconds -