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

Accepted Answer
2 votes

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

0 votes
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 .

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
Community showcase
Posted Sep 18, 2018 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...

26,908 views 2 7
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