Why in-line issue edit is not working when accessing directly via URL?

We've got our external tool for project creation. It doesn't care about underscore in project key. Therefore we've got multiple projects containing underscore in their project keys in production environment.

I'm from service team looking for reason, why in projects containing underscore in key in-line editing doesn't work properly (when issue is accessed via URL, or via link that doesn't use AJAX).

Steps to reproduce good behaviour and error:

  1. I access the issue via `Project -> Issues -> <something>`, then in-line editing works properly
  2. while I'm in this view (1st step) and I click on issue key / link, then in-line editing works properly
  3. when I refresh same page showing issue (or just enter the same URL without complete refresh), then in-line editing doesn't work at all

This behaviour hasn't been seen in projects without underscore in its key.

The JIRA version is v6.1.7#6163-sha1:94d557d.

Can't add comments, so edit:
"Administration -> Add-ons -> Behaviours" - list is empty

1 answer

0 vote

Do you have custom javascript or are using an add-on that does things to fields?  I ask because I can't replicate this problem on a plain JIRA 6.1, and that points to a customisation of some sort.

Well, we've got couple of plugins installed. I've found this page https://confluence.atlassian.com/display/JIRAKB/Inline+editing+disabled+randomly, which points to Behaviours Plugin, which has been replaced by ScriptRunner. We've got installed ScriptRunner, but we haven't got any ScriptRunner field in the view, where problem occurs.

Is it possible to check, which plugins provide javascript based customizations? I would try to find the plugin which causes the problem.

Ok, yes, Behaviours could be doing it, but you don't need a script-runner field to enable that, you just define a behaviour for an existing field. Check the list of behaviours to see if one of them could be breaking it. As for other addons - no way of knowing really, but you should look for the ones that try to do things on the front-end gui

I can make only one comment a day :/ If you mean: "Administration -> Add-ons -> Behaviours", then this list is empty.

You'll be able to comment more as your karma rises (which you get by commenting and getting answers etc) So, we've ruled out the Script-Runner/Behaviours as a possible problem. Are there other add-ons that might be trying to work with the front end (they'll all be under "user installed addons" in the add-on manager). Also one nagging doubt that I'd just want to check quickly - you do mean underscore and not hyphen or dash? i.e. your project key is something like ABC_DEF not ABC-DEF? (Oh, and while we're there, it does start with a letter and not a number or underscore?)

Well, we've got couple of add-ons installed. Is there some troubleshooting forum for JIRA? A don't think Q/A is good site for troubleshooting. Nope, it's underscore in tested project. We've got also other projects with dots and underscores in their keys, but having underscore in key is enough to break in-line editing.

This is the best place for troubleshooting - it's a large community of users who may have encountered your problem before. The other good option is to raise a "formal" support request with Atlassian directly at https://support.atlassian.com - if you do that, they will be asking you similar questions about customisations and add-ons. I can't replicate your problem on a plain JIRA, so there is definitely something unusual about yours, and that's what I've been trying to get at Next test is to see if the problem happens if you turn off all the user-installed addons. I'd also *strongly* recommend changing the keys of the projects to supportable ones - start with a letter, and never contain any characters other than underscore and alphanumerics.

Thank you for your help. It seems, that we will have to setup test environment where we will replicate our production instance of that JIRA. And try disabling/enabling plugins there.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Wednesday in Jira

Join our webinar: How 1B+ feature flag events helped us build the new Jira

Every time you release software, there's a bit of risk – that there's a bug, that something breaks, or that the feature doesn't resonate with customers. Feature flagging helps make high stakes s...

117 views 0 3
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