Problem with creating a sub-task script in a workflow post function ?

Hi,

I have  aproblem on my live instance of JIRA (on UAT it is working good).

My JIRA version is 6.3.1 and I am using  ScriptRunner 3.0.10.

When I want to add workflow script postfunction: create a sub-task there is now option to configure it.

 

Instead of having this screen:

PRE.PNG

I have this:

POST.PNG

Can you help me with this?

Thanks,

Kasia

2 answers

0 vote

Can you click F12 and check for javascript errors in the browser console... certain issues like that could cause this. Also check for server logs. If you are on jira 6.3 you may as well use the latest version... 3.1.4 (I think) if you don't want to pay, 4.0.1 otherwise.

Thanks Jamie,

 

Yes, It looks like java script error:

POST http://10.119.4.132:8080/jira/rest/scriptrunner/latest/canned/com.onresolve.scriptrunner.canned.jira.workflow.postfunctions.CreateSubTask/params 500 (Internal Server Error)d.support.ajax.d.ajaxTransport.a.send @ batch.js?locale=en-US:167d.extend.ajax @ batch.js?locale=en-US:161r @ scriptrunner.js:15ScriptRunner.Base.jQuery.ajax.success @ scriptrunner.js:17d.Callbacks.j @ batch.js?locale=en-US:30d.Callbacks.o.fireWith @ batch.js?locale=en-US:32c @ batch.js?locale=en-US:156d.support.ajax.d.ajaxTransport.a.send.b @ batch.js?locale=en-US:168

But how can I fix it?

Upgrade a plugin?

We are using the same version on UAT and theer it is working good..

Thanks,

Kasia

So it's saying there is a server error - can you check the logs when you hit that page: <jira-home>/log/atlassian-jira.log ? cheers, jamie

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,184 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