I am fairly new to Jira and Java so please excuse if that is a poor question. I am trying to implement a groovy script via JMWE but I found that I have issues with the ComponentAccessor. I have tried to copy a number of scripts, all using the CcomponentAccessor and testing it using the JMWE Groovy Console. Each time I call the ComponentAccessor, for example in the following code
I get the Message
Script testing failed with a server error.
I tried to search for the Component through the Interface and it returns ComponentAccessor does not exist.
Does that mean that I can't use the ComponentAccessor with the JMWE? Or do I need to do some extra steps?
Same pb for me on my staging env on self hosted Jira DC 8.5.8, ComponentAccessor causes the error and I get the same error message on Groovy console.
The same script on my prod env runs perfectly, with the same version of JMWE plugin version (6.2.4).
Removing the import doesn't change anything.
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