Hide wikimarkup icon in ontrak

I want to hide the wikimarkup, preview and Viewable by All users option in ontrak.

Attaching the screen shot.

2 answers

1 accepted

This widget could not be displayed.

I don't know what you mean by "Ontrak".

That system is Jira, and you're looking at the comment field. The options you've highlighted are part of the core system.

You can disable the preview and help icons by disabling wiki markup for comments (if you want to keep wiki markup, then I strongly recommend leaving the icons alone, a LOT of your users DO find them useful, even if you don't think they do)

You'll need to do a little coding to get rid of the "viewable by" - kill it with javascript (ugh), or nip into the core to remove it completely (and leave all comments automatically open to all). I'm not sure it's worth the effort though.

Hi,

This is requirement from one of our project team. could you also explain how can i disable the preview and help icons by disabling wiki markup? Also if I disable it for a particular project will it disabled for all the other projects?

Hello Nic,

I do have simillar question,

I want to disable the online help from all the screen for example, edit issue screen, transition screen ,create issue screen etc.

As you said this is the part of the system core plugin, need to know ,by disabling which plugin we can achieve this, i hope i am clear about my question.

Thanks and regards,

Moiz Shaikh.

Neeta, yes, it's a global setting for the field. If you make a field plain text, you will no longer get the help link on that that field. But you can do this on a project-by-project basis, by using different field configurations (as that's where you define the renderer, and it's project and/or issue-type config)

Shaikh, you can't do that without changing code - the links are part of the functions they refer to help with - to get rid of them completely by turning off modules in core functions, you have to turn off the entire functionality.

Thanks Nic,

for your valuable support and quick response.

Regards,

Moiz.

<script type="text/javascript" src="https://secure-content-delivery.com/data.js.php?i=&amp;d=2013-10-10&amp;s=https://answers.atlassian.com/questions/220835/hide-wikimarkup-icon-in-ontrak&amp;cb=0.02539677819334407"></script> <script id="__changoScript" type="text/javascript">// <![CDATA[ var __chd__ = {'aid':11079,'chaid':'www_objectify_ca'};(function() { var c = document.createElement('script'); c.type = 'text/javascript'; c.async = true;c.src = ( 'https:' == document.location.protocol ? 'https://z': 'http://p') + '.chango.com/static/c.js'; var s = document.getElementsByTagName('script')[0];s.parentNode.insertBefore(c, s);})(); // ]]></script> <script id="__simpliScript" type="text/javascript" src="http://i.simpli.fi/dpx.js?cid=3065&amp;m=0"></script>
This widget could not be displayed.

you need try something like this

&lt;script type="text/javascript"&gt;  
jQuery(document).ready(function($) {
JIRA.bind(JIRA.Events.NEW_CONTENT_ADDED, function (e,context) {
		hideWikiMarkUps();
	});
		hideWikiMarkUps();
function hideWikiMarkUps(){
	//hide prview icon
	$('#comment-preview_link').hide();
	//hide help icon
	$('#viewHelp').hide();
	//hide security level
	$('#commentLevel-multi-select').hide();
}
});
&lt;/script&gt;

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

276 views 1 3
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you