remove or grey out the "Configure Fields" button on a "create issue" screen

How can I remove or grey out the "Configure Fields" button on a "create issue" screen so a user will not see it

3 answers

0 votes

You'd need to hack it out of the core code I'm afraid.  It is part of a template, so it's editing a text file (which is buried inside a plugin if memory serves) rather than code change + recompile.  As usual, I'd advise against messing with core code.

Nic, I sure appreciate your answer. I figured as much. I will plan on leaving it alone.

You might consider this javascript:

AJS.$("#qf-field-picker-trigger").hide();

where are you using this? need more info to consider

You can put a script like below in the fielddescription in the fieldconfiguration of the project / issuetype. <script language="JavaScript" type="text/javascript"> (function($){ $(document).ready(function(){ removeTrigger(); // Alternative: JIRA.bind(JIRA.Events.NEW_CONTENT_ADDED, function (event,dialog) { $(document).bind('dialogContentReady', function(event, dialog) { removeTrigger(); } function removeTrigger() { // Verstecke Button zur Feldauswahl AJS.$("#qf-field-picker-trigger").hide(); } }); More professional solution would be to create a ressource plugin for javascripts and to include it there. As such resource is loaded on every screen / project, you must implement some logic, when the functionality shall be executed and where not. However, I did not do use that approach for such script yet.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,521 views 15 21
Read article

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