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

This widget could not be displayed.

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.

This widget could not be displayed.

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 Sign up to answer
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

191 views 1 3
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