Disabling Quick edit / inline edit

Mizan
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 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

2 votes
Answer accepted
Mizan
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 17, 2013

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>

 

 

 

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 17, 2013

try with this

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

Cristian _Southend_ December 11, 2013

works perfectly! thanks @Mizan

Leos Junek
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.
January 22, 2014

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
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.
January 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..

0 votes
David_Turner April 23, 2014

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

0 votes
richie_gee
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 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
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 14, 2013

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

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 14, 2013

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
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 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

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 14, 2013

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

Mizan
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 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

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 14, 2013

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
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 17, 2013

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

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 17, 2013

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
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 17, 2013

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

Suggest an answer

Log in or Sign up to answer