I am trying to get a Jelly script running but I am getting the following error:
XML script invalid.
Extra Information: [hide]
Exception: org.xml.sax.SAXException: could not find namespace with prefix core
java.io.PrintWriter@3a7b59e4
This is the jelly script I am using:
<JiraJelly xmlns:jira="jelly:com.atlassian.jira.jelly.enterprise.JiraTagLib">
<!--
Add your own Jelly XML here
For documentation on the JIRA tag library see:
http://www.atlassian.com/software/jira/docs/latest/jelly.html
-->
xmlns:core="jelly:core" xmlns:log="jelly:log" xmlns:util="jelly:util" >
<jira:Login username="t_user2" password="apple">
<core:invokeStatic className="com.atlassian.jira.component.ComponentAccessor" method="getUserManager" var="userManager"/>
<core:invokeStatic className="com.atlassian.jira.component.ComponentAccessor" method="getUserUtil" var="userUtil"/>
<core:invoke on="${userManager}" method="getUser" var="user">
<core:arg type="java.lang.String" value="t_user2"/>
</core:invoke>
<core:invoke on="${userUtil}" method="changePassword">
<core:arg type="com.atlassian.crowd.embedded.api.User" value="${user}"/>
<core:arg type="java.lang.String" value="orange"/>
</core:invoke>
</jira:Login>
</JiraJelly>
Can someone help me figure out what might be the issue?
Thanks!