Hi All,
I am getting below error mesage when i run jelly script. Please help me out.
Could not run script.
Extra Information:[hide]
Error:<JiraJelly xmlns:jira="jelly:com.atlassian.jira.jelly.enterprise.JiraTagLib" xmlns:core="jelly:core" xmlns:log="jelly:log">
Exception:org.apache.commons.jelly.JellyTagException: null:18:0:The following problems were found: Action 61 is invalid
java.io.PrintWriter@2fb6ad34
####
Below script i am using.
<JiraJelly xmlns:jira="jelly:com.atlassian.jira.jelly.enterprise.JiraTagLib" xmlns:core="jelly:core" xmlns:log="jelly:log" >
<jira:Login username="jira_admin" password="xxxxx#">
<log:warn>Running Close issues service</log:warn>
<!-- Properties for the script -->
<core:set var="comment">This ticket has been in resolved state for 30 days without an update.
This ticket will be automatically moved to closed state.
If this issue has not been resolved satisfactorily, clone this to a new ticket
Thank you,
JIRA Administrator</core:set>
<core:set var="workflowStep" value="Closed" />
<core:set var="workflowUser" value="vyadav" />
<!-- Run the SearchRequestFilter -->
<jira:RunSearchRequest filterid="10800" var="issues" />
<core:forEach var="issue" items="${issues}">
<jira:TransitionWorkflow key="${issue.key}" user="${workflowUser}" comment="${comment}" workflowAction="${workflowStep}"/>
</core:forEach>
</jira:Login>
</JiraJelly>