Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Jira Cloud - Script runner - Post function details blank

Papyrum Nexus October 18, 2018

Hi, 

Since this morning in the post functions screen details for a transition I see the script block for script runner blanck

It does not display or show any data

Also If I open the script to edit it is also blank

does anyone knows which can be the cause? 

I tried to clear caché and with diferent explorers and nothing at all, now I have to delete the scritp and create a new one to make any change.

 

This works fine but suddenly got broken

thanks in advanceCaptura.PNG

1 answer

1 accepted

0 votes
Answer accepted
Papyrum Nexus October 19, 2018

Ok. So after a deep look and monitoring chrome console it seems to be failling because of "Failed to load page view-workflow-function SyntaxError: Unexpected token ? in JSON at position 11862"

Code has been checked both over script runner console and also on IntelliJ IDEa IDE for groovy and works fine.

But when setting this code as post function it breaks becase o a "ú" tilded in a comment line... no validation is done so it just break the html by some cause,

Just check for tilded words

Maybe this helps someone in the future

 

Kind rewards

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events