Has anyone experienced mentions randomly failing?
In the Console, I'll see an error for "undefined missing jira/mention/mention-element"
This is all random...if I reload the page, it works again.
On 9.12.4; I did not experience this prior to upgrading from 9.4.X.
https://jira.getxray.app/browse/XRAY-9729
Was due to X-Ray add-on.
Update: X-Ray believes it's something Atlassian introduced that's causing an interaction with plugin vendors, not just X-ray.
Since neither Atlassian nor XRAY fixed this bug, today I have created a simple Jira App.
atlas-create-jira-plugin
<enter details>
Now after creation you do not need any other components/modules to add.
Just edit the atlassian-plugin.xml
Add the following dependency to your web resource.
<dependency>jira.webresource:mentions-feature</dependency>
Add the context atl.general
Edit the .js file and add this line
window.require("jira/mention/mention-element");// bugfix for missing mention element
Package with atlassian-package,
Install and the issue will be solved.
Good Luck
Heiko Gerlach
Here is the complete atlassian-plugin.xml
<?xml version="1.0" encoding="UTF-8"?>
<atlassian-plugin key="${atlassian.plugin.key}" name="${project.name}" plugins-version="2">
<plugin-info>
<description>${project.description}</description>
<version>${project.version}</version>
<vendor name="${project.organization.name}" url="${project.organization.url}"/>
<param name="plugin-icon">images/pluginIcon.png</param>
<param name="plugin-logo">images/pluginLogo.png</param>
</plugin-info>
<!-- add our i18n resource -->
<resource type="i18n" name="i18n" location="MentionBugFix"/>
<!-- add our web resources -->
<web-resource key="MentionBugFix-resources" name="MentionBugFix Web Resources">
<dependency>com.atlassian.auiplugin:ajs</dependency>
<dependency>jira.webresource:mentions-feature</dependency>
<resource type="download" name="MentionBugFix.css" location="/css/MentionBugFix.css"/>
<resource type="download" name="MentionBugFix.js" location="/js/MentionBugFix.js"/>
<resource type="download" name="images/" location="/images"/>
<context>MentionBugFix</context>
<context>atl.general</context>
</web-resource>
</atlassian-plugin>
and the Javascript File
window.require("jira/mention/mention-element");// bugfix for missing mention element
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The solution is tested heavily by at least 200 Users and it works very well in Jira 9.12.14.
Please make sure to reload your Browserpage once after installing the App.
BR Heiko
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
FYI, I do get the same console error in Firefox, but not in Chrome. Clearing the cache didn't help, and reloading the page many times as well. What a pain in the ass!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Haven't encounter this but sometime I do run into weird quirks here and there. Usually, clearing of the cache or going into incognito mode takes care of it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.
Register NowOnline forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.