Disabling Quick edit / inline edit

Mizan Community Champion Oct 14, 2013

Hi All ,

Is there a way I can disable the inline edit in JIRA 6.x ?

It is not possible to disable it from the configurations now .

Does anyone have a workaround for disabling inline edit throughout the JIRA instance .

People who are intrested in this feature can vote up this issue

Regards ,

Mizan

4 answers

1 accepted

This widget could not be displayed.

Script to disable quick edit for a particular field .Works when pasted under announcement banner /field description

<script type="text/javascript"> 
AJS.$(document).ready(function() {
setInterval(function() {
  AJS.$('#fixfor-val').removeAttr('class');
  AJS.$('#fixfor-val').children('.icon').remove();
  AJS.$('#fixfor-val').removeAttr( "title" )
}, 200);
 });
</script>

 

 

 

try with this

AJS.$('#fixfor-val').removeClass("editable-field");

works perfectly! thanks @Mizan

Hello Mizan and others! Mizan, you told us the way to disable in-line editing for particular field. However - I have no idea how to do it. You wrote

edit for a particular field

What does it mean? Should I enter to Field Configuration? Or where exactly in administration can I edit it?

After answering this question I might be able to understand a location of announcemnet banner/field description.

Thanks in advance for reply to everybody!

Leos

Mizan Community Champion Jan 22, 2014

hey Leos ,

you need to put the script in the field description of the field configuration.. if you put it under the announcement banner the script will disable inline edit for the field for all field configurations..

This widget could not be displayed.

this feature is removed from jira 6.x, check this

https://confluence.atlassian.com/display/JIRA/JIRA+6.0+RC+1+Upgrade+Notes#JIRA6.0RC1UpgradeNotes-Disablinginlineeditnolongerallowed

check this post it may help you

https://answers.atlassian.com/questions/49613/jira-5-1-inline-editing-how-this-will-work-for-you?page=1#91377

another way is, remove the fields from edit screen and add those fields to global tansition

Mizan Community Champion Oct 14, 2013

Yes this feature is removed .

is there a way I can disable the system plugin which is responsible for inline editing . The javascript solutions is for a single field and I need to disable this for all field throughout Jira

the plugin name is "Atlassian JIRA - Plugins - Quick Edit Plugin" but we don't have option to disable :(

Mizan Community Champion Oct 14, 2013

Can you think of a js solution which can work for all fields or atleast for a specific field . We can add this js in the field description

if you want to diable inline edit for specific field then use something like this

<script type="text/javascript">  
jQuery(document).ready(function($) {
	AJS.$('#customfield_14310-val').removeClass("editable-field");
	//here need write code to hide/remove edit(pencil) icon
 });
</script>

same way if you want to diable inline edit for all fields then use the @Wim Deblauwe solution which is given in the link

 

Mizan Community Champion Oct 17, 2013

Tried this but its not working . I have used correct customfield id .

where you added this script? on description of field?

i suggest to load it as webresource or add it on footer.jsp(for testing)

Mizan Community Champion Oct 17, 2013

Pasted the script in announcement banner . The quick edit functionality remains but the pencil disappears

This widget could not be displayed.
Richie Gee Atlassian Team Oct 14, 2013

This might help:

https://confluence.atlassian.com/display/JIRAKB/How+to+Disable+Inline+Editing+in+JIRA+6.x

its a workaround rather than really disabling, but it helps to address this issue. Cheers :)

Mizan Community Champion Oct 14, 2013

Yes but for this i will need to modify all the workflows .

This widget could not be displayed.

FYI, if you're still interested in a fairly complete (but still 'brute-force') custom JavaScript solution to disable inline-edit for selected projects and fields in JIRA 6.2 check this link:

https://answers.atlassian.com/questions/71936/disable-click-to-edit-in-jira?page=2#287179

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

269 views 5 0
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