Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Adaptavist ScriptRunner for JIRA How to fix Error Required resource with name 'view' does not exis Edited

Hello!
An error occurs when creating or editing web fragments.
The plugin itself works, but Script Fragmetns does not work.
We reinstalled the plugin, but it did not help.
Removing the plug-in with clearing the cache and restarting the service and reinstalling did not work either.
Is there any solution to the problem?


com.atlassian.plugin.PluginParseException: Required resource with name 'view' does not exist. at com.atlassian.plugin.web.descriptors.WebPanelSupplierFactory.getRequiredViewResource(WebPanelSupplierFactory.java:107) at com.atlassian.plugin.web.descriptors.WebPanelSupplierFactory.build(WebPanelSupplierFactory.java:56) at com.atlassian.plugin.web.descriptors.DefaultWebPanelModuleDescriptor.init(DefaultWebPanelModuleDescriptor.java:130) at com.atlassian.plugin.ModuleDescriptor$init$2.call(Unknown Source) at com.atlassian.plugin.ModuleDescriptor$init$2.call(Unknown Source) at com.onresolve.scriptrunner.fragments.FragmentsManager.register(FragmentsManager.groovy:248) at com.onresolve.scriptrunner.fragments.FragmentsManager.register(FragmentsManager.groovy) at com.onresolve.scriptrunner.fragments.IFragmentsManager$register.call(Unknown Source) at com.onresolve.scriptrunner.fragments.AbstractCustomWebPanel.doScript(AbstractCustomWebPanel.groovy:176) at com.onresolve.scriptrunner.canned.CannedScript$doScript.call(Unknown Source) at com.onresolve.scriptrunner.canned.CannedScript$doScript.call(Unknown Source) at com.onresolve.scriptrunner.runner.ScriptRunnerImpl.validateAndRunCannedInternal(ScriptRunnerImpl.groovy:434) at com.onresolve.scriptrunner.runner.ScriptRunnerImpl.runCanned(ScriptRunnerImpl.groovy:379) at com.onresolve.scriptrunner.fragments.FragmentsManager$_registerFragments_closure1.doCall(FragmentsManager.groovy:104) at com.onresolve.scriptrunner.fragments.FragmentsManager.registerFragments(FragmentsManager.groovy:103)...

image.png

1 answer

Hi Krasina,

There are many things that can cause this. Can you run this in the script console within JIRA and then tell me what it returns?

import com.onresolve.scriptrunner.fragments.FragmentsManager
import com.onresolve.scriptrunner.runner.util.AOPropertyPersister
def frags = AOPropertyPersister.loadMap(FragmentsManager.AO_PROPERTY_KEY)
log.warn frags
frags.toString()

Regards,

Josh

Thank you, we understood what the error was, it was caused by duplicates of Script Fragments. This problem and solution are described in SRPLAT-217

Like vincent_marx_external likes this

Hi Krasina,

Glad to hear you resolved the problem!

Regards,

Josh

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase

The benefits of using Jira in different departments

Jira is a great tool to use across different departments. Forget that paperwork – switch to Jira and get that tasks done smoothly. Marketing Jira allows for a complete digital transformation of you...

97 views 0 5
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you