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,

jira.sh --action "getIssueList" --server "https://domain.atlassian.net/" --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

Accepted Answer
0 votes

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.

Thanks

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Jira

Looking for anyone who made the switch to Data Center

The Jira Marketing team is putting together an ebook on migrating to Data Center. We're looking for pro tips on how you staffed your project team and organized your Proof of Concept. Share yo...

29 views 0 2
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