Jelly runner reports error: unclosed token

Re: Jira v3.13.

A script is failing with a message about an unclosed token and a reference to a line (in the error output) showing an unclosed ending "values" tag: </values.

My team has other scripts but we only use built in jira tags; nothing custom written.

Any suggestions as to how Jira may write an incomplete ending tag (or erroneously report that one was written)?

Thanks.

2 answers

0 votes

I edited the question because "script runner" generally refers to running groovy/python etc scripts, and I'm pretty sure you are talking about jelly.

0 votes

Yup, that looks like Jelly. I get those error messages all the time, but it's because I keep messing up my xml editing it by hand (worked with computers for years, still can't tpey coppectly)

I'm pretty sure you will find that there's an error in the Jelly you are giving it. Check the lines of Jelly the error message is pointing at very carefully. Ideally, open the jelly in an xml-aware editor as most of them can check the syntax and layout for you. My favourite tricks to generate these errors are missing or extra " marks, following by using ` and ' interchangably, when they are not. If your Jelly is dynamic (pulling in data from other sources), it's a bit more difficult to debug, but it's also a lot more likely to be a quote mark of some sort.

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 ...

2,898 views 12 18
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