Hide wikimarkup icon in ontrak

Neeta Dubey October 8, 2013

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

Attaching the screen shot.

2 answers

1 accepted

0 votes
Answer accepted
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 9, 2013

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.

Neeta Dubey October 9, 2013

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?

Shaikh Moiz November 3, 2013

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.

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 3, 2013

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.

Shaikh Moiz November 3, 2013

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>
0 votes
RambanamP
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 9, 2013

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