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 vote

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 vote

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published yesterday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

58 views 0 5
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