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 Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

149 views 1 17
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