Gemini Community Support Site

This Gemini community support site can be used to find solutions to product issues. You can log in using Open Id, Google Profile and even Facebook. Feel free to ask a question or browse FAQs and documentation. Product tour videos are also available along with how-to videos demonstrating key Gemini capabilities.




Java SDK and getting project issues

api

Hi all,

I'm trying to use Java Web Services SDK to fetch all project issues. I'm trying to get listing of issues for a particular project and i use 'roadmap' function for this purpose this way:

public IssueEN[] getProjectIssues(int projectId) throws Exception
{
    return IssueEN.FromArray(new JSONArray(getResponse("/api/projects.ashx/" + Integer.toString(projectId)+ "/roadmap", null, "GET")));
}

However, i get exception like java.io.FileNotFoundException: http://geminihostname/api/projects.ashx/28/roadmap

NOTE that 28 is perfectly valid project identifier here

Could you advise what i may be doing wrong?

ShL77
· 1
ShL77
Replies (3)
helpful
0
not helpful
ANSWER

You are missing the projects section:
http://geminihostname/api/projects.ashx/projects/28/roadmap


Saar Cohen
· 5000
Saar Cohen
helpful
0
not helpful

Thanks, it worked!

PS I guess it may be worth to update http://api.countersoft.com/ApiProjects.aspx or (in case it's outdated) redirect to some more up-to-date documentation


ShL77
· 1
ShL77
helpful
0
not helpful

Will do! Many thanks for pointing it out.


Saar Cohen
· 5000
Saar Cohen