Jelly script issue: Action 61 is invalid java.io.PrintWriter@7cfab6be

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>

3 answers

1 accepted

With other account its working fine. But not sure abt root cause.

1 votes

Look at the workflow again - it's telling you that it cannot run "action 61", which implies you've got the wrong id of the transition you're trying to run.

Hi Nic Brough,

I verified its a valid transistion id. Not sure what could be the reason?

<th>
Resolved(3) Resolved Resolved Re-Open(31)
>> Reopened
Closed(61)
>> Closed
Reopened(4) Reopened Reopened In Progress(111)
>> In Progress
Closed(5) Closed Closed
In Progress(6) In Progress In Progress Resolved(101)
>> Resolved
Assigned(7) Assigned Assigned In Progress(91)
>> In Progress

Conditions
Only the reporter of the issue can execute this transition.
Add grouped condition | Delete
Only users in group jira-administrators can execute this transition.
Add grouped condition | Edit | Delete

<JiraJelly xmlns:jira="jelly:com.atlassian.jira.jelly.enterprise.JiraTagLib" xmlns:core="jelly:core" xmlns:log="jelly:log">
file:/D:/Program Files/Atlassian/JIRA/atlassian-jira/WEB-INF/classes/Jelly-AutoClose-AnIssue-30days.txt:18:124: <jira:TransitionWorkflow> The following problems were found:
Action 61 is invalid

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,096 views 13 18
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot