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)?


2 answers

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