SAXParseException with Jira CLI

When i am trying to the fetch the list of all my issues with one project of mine everything works fine and i am returned the Issue List, but when i do the samething on another project using the same fields and all the given project returns me with this error :

Remote error: ; nested exception is:

org.xml.sax.SAXParseException: XML document structures must start and end within the same entity.

Sounds like the Jira CLI is not properly generating the XML..

Given Command, --action "getIssueList" --server "" --user "ex" --password "derp" --project "Project"

if i were to change project to another like search same thing, but i dont get the error if change to my other project lets say to 'test' basicly. But have a fair amount of Issue that they can pull from.

So right now i pretty confused as to what could cause this kind of error.

4 answers

1 accepted

After all the problem got fixed, turns out it was invalid XML characters which was already present in existant issue. But was not in the others from a diffrent project.

It is likely a problem with the data in one (or more) of the issues in that specific project. Try narrowing it down to the specific issue and look for some bad data. Use getIssueList with JQL search to isolate it. The JIRA server generates the response, so you would have the same problem using the Remote API directly.

Hi Musk..

Did you get the solution to this issue? We are experiencing the same problem. We just upgraded to jira 5.2.6.

Actually I cleaned the jiras that had characters causing this issue and it is now resolved.


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

3,317 views 14 20
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