Script Runner Not creating subtasks

I've tried everything in the sun and cannot for the life of me get the Create Subtask post-function to work using Script Runner.

The user executing the transition has permission to create issues.

The target subtask is a valid issuetype in the project.

The workflow it's using is the classic workflow.

The field configuration scheme for the issue type is also the default and has no restrictions.

There's nothing special in the actual post function itself, just a 'Create Subtask' task.


I looked in atlassian-JIRA and could not find anything helpful other than: 

2015-09-30 09:52:15,368 http-bio-443-exec-24914 ERROR awhite 592x7901709x3 19ulta1 /secure/CommentAssignIssue.jspa [scriptrunner.jira.workflow.ScriptWorkflowFunction] Script function failed on issue: HREO-15, actionId: 51, file: null


Any ideas?

3 answers

Do you have a validation on your subtask create step that requires an Assignee?

Hi there, Nope. Only: Only users with Create Issues permission can execute this transition.

0 votes

After the log message you posted there should be a stack trace - is there not one?

Is HREO-15 the parent issue?

Can you attach a screenshot of the configuration of the workflow function. I was unable to find any other error message in atlassian-jira.log. And yes, HREO-15 was the parent issue.

Any ideas Jamie?

Can you set the log level to debug: - then doing the failing transition, then post the whole log. If it's private you can create a ticket at

Thanks Jamie. How do I turn off logging once I am done?

change the DEBUG to WARN and rerun.

Have you tried bob swift JIRA create on transition?  It allows you to create tasks and sub tasks on transition quite easily. Great add on. 

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,110 views 13 19
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