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

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 Sign up to answer
Community showcase
Published Nov 29, 2018 in Jira

How to set up an incident workflow from the VP of Engineering at Sentry

Hey Atlassian community, I help lead engineering at Sentry, an open-source error-tracking and monitoring tool that integrates with Jira. We started using Jira Software Cloud internally last year, a...

1,088 views 0 8
Read article

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