Unable to get Issue.

General discussion of Mantis.

Moderators: Contributor, Developer

Post Reply
pavan4610
Posts: 1
Joined: Apr 12, 2018 5:10 am

Unable to get Issue.

Post by pavan4610 » Apr 12, 2018 5:15 am

I am using MantisBT and mantisconnect-client-api-1.1.1.1 in java. From Java I want to get a list of issues created by a user and create new issue. I am able to connect and get the project with below line of code IProject[] projects = session.getAccessibleProjects(); But when I try to get issues or filters it gives an error. When I try to get the issue with below line of code, I get error shown below,

IIssue[] issues = session.getProjectIssues(projects[0].getId());


Error: org.mantisbt.connect.MCException: org.xml.sax.SAXException: Invalid element in org.mantisbt.connect.axis.AttachmentData - user_id

Exception is org.mantisbt.connect.MCException: Access denied for user Pavan.K.

Post Reply